grim/convey
Clone
Summary
Browse
Changes
Graph
Add a .reviewboardrc file
2022-03-26, Gary Kramlich
8fea0c778f8e
Add a .reviewboardrc file
package
docker
import
(
"testing"
"github.com/stretchr/testify/assert"
"keep.imfreedom.org/grim/convey/tasks"
)
func
TestExport
(
t
*
testing
.
T
)
{
e
:=
&
Export
{
Files
:
[]
string
{
".:."
},
}
assert
.
NoError
(
t
,
e
.
Valid
())
}
func
TestExportFilesRequired
(
t
*
testing
.
T
)
{
e
:=
&
Export
{}
assert
.
ErrorIs
(
t
,
e
.
Valid
(),
tasks
.
ErrNoFiles
)
}