grim/convey
Clone
Summary
Browse
Changes
Graph
Fix some minor linting issues
5 months ago, Elliott Sales de Andrade
62cc853bf396
Fix some minor linting issues
Testing Done:
Ran `golint`, saw fewer lints, and ran `go build .`
Reviewed at https://reviews.imfreedom.org/r/2869/
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
)
}