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/podman"
)
func
TestRun
(
t
*
testing
.
T
)
{
r
:=
&
Run
{
Image
:
"image"
,
}
assert
.
NoError
(
t
,
r
.
Valid
())
}
func
TestRunImageRequired
(
t
*
testing
.
T
)
{
r
:=
&
Run
{}
assert
.
ErrorIs
(
t
,
r
.
Valid
(),
podman
.
ErrNoImage
)
}