grim/convey
Clone
Summary
Browse
Changes
Graph
Fix codespell issues
12 months ago, Elliott Sales de Andrade
1b692d310d7e
Fix codespell issues
Testing Done:
Ran `convey run everything`; no errors from codespell.
Reviewed at https://reviews.imfreedom.org/r/2453/
package
docker
import
(
"testing"
"github.com/stretchr/testify/assert"
"keep.imfreedom.org/grim/convey/tasks"
)
func
TestImport
(
t
*
testing
.
T
)
{
e
:=
&
Import
{
Files
:
[]
string
{
".:."
},
}
assert
.
NoError
(
t
,
e
.
Valid
())
}
func
TestImportFilesRequired
(
t
*
testing
.
T
)
{
e
:=
&
Import
{}
assert
.
ErrorIs
(
t
,
e
.
Valid
(),
tasks
.
ErrNoFiles
)
}