grim/convey

Quickly fix a mistake with the docs build

11 months ago, Gary Kramlich
b3868a101c61
Quickly fix a mistake with the docs build
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)
}