grim/convey

36f6e7a6b6ce
replace gomega with testify and other go.mod cleanups
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)
}