grim/convey

Add back the old --memory flag

2021-12-22, Gary Kramlich
aa8a9d2b2ae2
Add back the old --memory flag
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)
}