summaryrefslogtreecommitdiff
path: root/test/e2e/history_test.go
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2021-12-01 08:59:05 -0700
committerEd Santiago <santiago@redhat.com>2021-12-02 07:54:53 -0700
commiteb1212bed933174a9b55f09b43f0cd3e1636c14d (patch)
tree0a7fa74911a51ca9e186d3c8c8a827b9b3382336 /test/e2e/history_test.go
parentc0a8814fb4d55a950ebf2b2c48731ac939318d7e (diff)
downloadpodman-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/history_test.go')
-rw-r--r--test/e2e/history_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/history_test.go b/test/e2e/history_test.go
index 1f8faa6c2..c6e9579ae 100644
--- a/test/e2e/history_test.go
+++ b/test/e2e/history_test.go
@@ -73,7 +73,7 @@ var _ = Describe("Podman history", func() {
lines := session.OutputToStringArray()
Expect(len(lines)).To(BeNumerically(">", 0))
// the image id must be 64 chars long
- Expect(len(lines[0])).To(BeNumerically("==", 64))
+ Expect(lines[0]).To(HaveLen(64))
session = podmanTest.Podman([]string{"history", "--no-trunc", "--format", "{{.CreatedBy}}", ALPINE})
session.WaitWithDefaultTimeout()