diff options
author | Ed Santiago <santiago@redhat.com> | 2021-12-01 10:02:35 -0700 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2021-12-02 07:54:53 -0700 |
commit | 6cb25b3d142e16cbfeb68ef98c54c4443ac842d2 (patch) | |
tree | b91aff1b719bd7fe0080a64aee5f6886b8bac92f /test/e2e/rmi_test.go | |
parent | eb1212bed933174a9b55f09b43f0cd3e1636c14d (diff) | |
download | podman-6cb25b3d142e16cbfeb68ef98c54c4443ac842d2.tar.gz podman-6cb25b3d142e16cbfeb68ef98c54c4443ac842d2.tar.bz2 podman-6cb25b3d142e16cbfeb68ef98c54c4443ac842d2.zip |
Manual fixes
Fix a handful of instances not covered by earlier automated
replacements. Found via:
ack 'Expect\(len' test/e2e
There are still a bunch of BeNumerically(">", ...) that cannot (yet)
be handled by HaveLen(). Leave those as they are.
Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'test/e2e/rmi_test.go')
-rw-r--r-- | test/e2e/rmi_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/rmi_test.go b/test/e2e/rmi_test.go index 70412c825..658155587 100644 --- a/test/e2e/rmi_test.go +++ b/test/e2e/rmi_test.go @@ -141,8 +141,8 @@ var _ = Describe("Podman rmi", func() { session = podmanTest.Podman([]string{"images", "--sort", "created", "--format", "{{.Id}}", "--all"}) session.WaitWithDefaultTimeout() Expect(session).Should(Exit(0)) - Expect(len(session.OutputToStringArray())).To(Equal(13), - "Output from 'podman images -q -a':'%s'", session.Out.Contents()) + Expect(session.OutputToStringArray()).To(HaveLen(13), + "Output from 'podman images -q -a'") untaggedImg := session.OutputToStringArray()[1] session = podmanTest.Podman([]string{"rmi", "-f", untaggedImg}) |