From 92f9e117670bb060307aadbd6bdeee303923091c Mon Sep 17 00:00:00 2001 From: Ed Santiago Date: Wed, 1 Dec 2021 08:55:09 -0700 Subject: 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 --- test/e2e/diff_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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() { -- cgit v1.2.3-54-g00ecf