grim/convey

Create a docker/run task that wraps podman/run
redux
2021-10-11, Gary Kramlich
fbf02cafd889
Create a docker/run task that wraps podman/run
package podman
import (
"testing"
. "github.com/onsi/gomega"
)
func TestRemove(t *testing.T) {
g := NewGomegaWithT(t)
r := &Remove{
Tags: []string{"foo"},
}
g.Expect(r.Valid()).To(BeNil())
}
func TestRemoveTagsRequired(t *testing.T) {
g := NewGomegaWithT(t)
r := &Remove{}
g.Expect(r.Valid()).To(MatchError(ErrNoTags))
}