diff options
author | Ed Santiago <santiago@redhat.com> | 2021-12-01 08:55:09 -0700 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2021-12-02 07:54:53 -0700 |
commit | 92f9e117670bb060307aadbd6bdeee303923091c (patch) | |
tree | e241b6ba8e71c93d58a5e46e112f58f2d771d123 /test/e2e/diff_test.go | |
parent | 7c6123f8e131d1083af065cd4620dd5c29b66048 (diff) | |
download | podman-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>
Diffstat (limited to 'test/e2e/diff_test.go')
-rw-r--r-- | test/e2e/diff_test.go | 2 |
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() { |