diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-11-24 09:07:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-24 09:07:02 +0100 |
commit | 4b014a3aecf9508ed83ae489e188721e6234ccd5 (patch) | |
tree | 8d5f445a67efd8ddc117237e05f111c0aad2b3c9 /test/e2e/commit_test.go | |
parent | 04be1e6485aec99d09edf3cdcf0769269ee42eb8 (diff) | |
parent | eb3708a5243378a659ca126b5d5c457b182d16a8 (diff) | |
download | podman-4b014a3aecf9508ed83ae489e188721e6234ccd5.tar.gz podman-4b014a3aecf9508ed83ae489e188721e6234ccd5.tar.bz2 podman-4b014a3aecf9508ed83ae489e188721e6234ccd5.zip |
Merge pull request #12398 from edsantiago/remove_betrue
continue e2e test cleanup
Diffstat (limited to 'test/e2e/commit_test.go')
-rw-r--r-- | test/e2e/commit_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/e2e/commit_test.go b/test/e2e/commit_test.go index d40faf54b..20e1360de 100644 --- a/test/e2e/commit_test.go +++ b/test/e2e/commit_test.go @@ -47,7 +47,7 @@ var _ = Describe("Podman commit", func() { check := podmanTest.Podman([]string{"inspect", "foobar.com/test1-image:latest"}) check.WaitWithDefaultTimeout() data := check.InspectImageJSON() - Expect(StringInSlice("foobar.com/test1-image:latest", data[0].RepoTags)).To(BeTrue()) + Expect(data[0].RepoTags).To(ContainElement("foobar.com/test1-image:latest")) }) It("podman commit single letter container", func() { @@ -62,7 +62,7 @@ var _ = Describe("Podman commit", func() { check := podmanTest.Podman([]string{"inspect", "localhost/a:latest"}) check.WaitWithDefaultTimeout() data := check.InspectImageJSON() - Expect(StringInSlice("localhost/a:latest", data[0].RepoTags)).To(BeTrue()) + Expect(data[0].RepoTags).To(ContainElement("localhost/a:latest")) }) It("podman container commit container", func() { @@ -77,7 +77,7 @@ var _ = Describe("Podman commit", func() { check := podmanTest.Podman([]string{"image", "inspect", "foobar.com/test1-image:latest"}) check.WaitWithDefaultTimeout() data := check.InspectImageJSON() - Expect(StringInSlice("foobar.com/test1-image:latest", data[0].RepoTags)).To(BeTrue()) + Expect(data[0].RepoTags).To(ContainElement("foobar.com/test1-image:latest")) }) It("podman commit container with message", func() { |