--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/docker/remove_test.go Mon Oct 11 01:44:17 2021 -0500
@@ -0,0 +1,50 @@
+ . "github.com/onsi/gomega" + "keep.imfreedom.org/grim/convey/podman" + "keep.imfreedom.org/grim/convey/yaml" +func TestRemoveImage(t *testing.T) { + g.Expect(r.Valid()).To(BeNil()) +func TestRemoveImages(t *testing.T) { + Images: []string{"foo", "bar"}, + g.Expect(r.Valid()).To(BeNil()) +func TestRemoveMerge(t *testing.T) { + Images: []string{"bar", "baz"}, + g.Expect(r.Valid()).To(BeNil()) + g.Expect(r.Images).To(Equal(yaml.StringOrSlice{"foo", "bar", "baz"})) +func TestRemoveImagesRequired(t *testing.T) { + g.Expect(r.Valid()).To(MatchError(podman.ErrNoTags)) --- a/docker/tasks.go Mon Oct 11 01:06:54 2021 -0500
+++ b/docker/tasks.go Mon Oct 11 01:44:17 2021 -0500
@@ -13,6 +13,7 @@
"docker/logout": &Logout{},
+ "docker/remove": &Remove{},