diff options
author | Ed Santiago <santiago@redhat.com> | 2021-11-30 13:14:56 -0700 |
---|---|---|
committer | Ed Santiago <santiago@redhat.com> | 2021-11-30 15:19:57 -0700 |
commit | 9ce7ade8c8dedb6a082614e45aa10d0e37c725cc (patch) | |
tree | aeefee1ec3a9bac7ee92c7d8d88f3d85c1364cef /test/e2e/run_entrypoint_test.go | |
parent | 295a6f7dd086731448a1168a349f62d3035258ca (diff) | |
download | podman-9ce7ade8c8dedb6a082614e45aa10d0e37c725cc.tar.gz podman-9ce7ade8c8dedb6a082614e45aa10d0e37c725cc.tar.bz2 podman-9ce7ade8c8dedb6a082614e45aa10d0e37c725cc.zip |
e2e: yet more cleanup of BeTrue/BeFalse
Thanks to Paul for teaching me about HaveKey()
Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'test/e2e/run_entrypoint_test.go')
-rw-r--r-- | test/e2e/run_entrypoint_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/run_entrypoint_test.go b/test/e2e/run_entrypoint_test.go index f500a3c7c..29f76bad1 100644 --- a/test/e2e/run_entrypoint_test.go +++ b/test/e2e/run_entrypoint_test.go @@ -129,6 +129,6 @@ ENTRYPOINT ["grep", "Alpine", "/etc/os-release"] session := podmanTest.Podman([]string{"run", "--entrypoint=uname", "foobar.com/entrypoint:latest", "-r"}) session.WaitWithDefaultTimeout() Expect(session).Should(Exit(0)) - Expect(session.LineInOutputStartsWith("Linux")).To(BeFalse()) + Expect(session.OutputToStringArray()).To(Not(ContainElement(HavePrefix("Linux")))) }) }) |