mirror of
https://github.com/containers/podman.git
synced 2025-09-10 08:22:23 +08:00
Manual fixes
Fix a handful of instances not covered by earlier automated replacements. Found via: ack 'Expect\(len' test/e2e There are still a bunch of BeNumerically(">", ...) that cannot (yet) be handled by HaveLen(). Leave those as they are. Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
@ -74,7 +74,7 @@ var _ = Describe("Podman events", func() {
|
||||
result.WaitWithDefaultTimeout()
|
||||
Expect(result).Should(Exit(0))
|
||||
events := result.OutputToStringArray()
|
||||
Expect(len(events)).To(Equal(1), "number of events")
|
||||
Expect(events).To(HaveLen(1), "number of events")
|
||||
Expect(events[0]).To(ContainSubstring(cid), "event log includes CID")
|
||||
Expect(events[0]).To(Not(ContainSubstring(cid2)), "event log does not include second CID")
|
||||
})
|
||||
|
Reference in New Issue
Block a user