grim/convey
Clone
Summary
Browse
Changes
Graph
In older versions of convey the long option of -f was --config not --config-file
2021-12-22, Gary Kramlich
2fc0f8c85b3f
In older versions of convey the long option of -f was --config not --config-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
)
}