diff options
author | Ed Santiago <santiago@redhat.com> | 2021-12-01 08:59:05 -0700 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2021-12-02 07:54:53 -0700 |
commit | eb1212bed933174a9b55f09b43f0cd3e1636c14d (patch) | |
tree | 0a7fa74911a51ca9e186d3c8c8a827b9b3382336 /test/e2e/images_test.go | |
parent | c0a8814fb4d55a950ebf2b2c48731ac939318d7e (diff) | |
download | podman-eb1212bed933174a9b55f09b43f0cd3e1636c14d.tar.gz podman-eb1212bed933174a9b55f09b43f0cd3e1636c14d.tar.bz2 podman-eb1212bed933174a9b55f09b43f0cd3e1636c14d.zip |
Same thing, with BeNumerically("==", x)
sed -i -e 's/Expect(len(\(.*\)))\.To(BeNumerically("==", \(.*\)))/Expect(\1).To(HaveLen(\2))/' test/e2e/*.go
Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'test/e2e/images_test.go')
-rw-r--r-- | test/e2e/images_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/images_test.go b/test/e2e/images_test.go index 97d015280..d854f8723 100644 --- a/test/e2e/images_test.go +++ b/test/e2e/images_test.go @@ -78,7 +78,7 @@ var _ = Describe("Podman images", func() { session = podmanTest.Podman([]string{"images", "-qn"}) session.WaitWithDefaultTimeout() Expect(session).Should(Exit(0)) - Expect(len(session.OutputToStringArray())).To(BeNumerically("==", len(CACHE_IMAGES))) + Expect(session.OutputToStringArray()).To(HaveLen(len(CACHE_IMAGES))) }) It("podman images with digests", func() { |