summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2021-12-01 08:55:09 -0700
committerEd Santiago <santiago@redhat.com>2021-12-02 07:54:53 -0700
commit92f9e117670bb060307aadbd6bdeee303923091c (patch)
treee241b6ba8e71c93d58a5e46e112f58f2d771d123
parent7c6123f8e131d1083af065cd4620dd5c29b66048 (diff)
downloadpodman-92f9e117670bb060307aadbd6bdeee303923091c.tar.gz
podman-92f9e117670bb060307aadbd6bdeee303923091c.tar.bz2
podman-92f9e117670bb060307aadbd6bdeee303923091c.zip
Same thing, for BeNumerically("==", 0)
sed -i -e 's/Expect(len(\(.*\)))\.To(BeNumerically("==", 0))/Expect(\1).To(BeEmpty())/' test/e2e/*.go Signed-off-by: Ed Santiago <santiago@redhat.com>
-rw-r--r--test/e2e/diff_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/diff_test.go b/test/e2e/diff_test.go
index 80647c6f5..c5bb80c40 100644
--- a/test/e2e/diff_test.go
+++ b/test/e2e/diff_test.go
@@ -149,7 +149,7 @@ RUN echo test
session := podmanTest.Podman([]string{"image", "diff", ALPINE, ALPINE})
session.WaitWithDefaultTimeout()
Expect(session).Should(Exit(0))
- Expect(len(session.OutputToStringArray())).To(BeNumerically("==", 0))
+ Expect(session.OutputToStringArray()).To(BeEmpty())
})
It("podman diff container and image with same name", func() {