summaryrefslogtreecommitdiff
path: root/test/e2e/negative_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/e2e/negative_test.go')
-rw-r--r--test/e2e/negative_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/negative_test.go b/test/e2e/negative_test.go
index 3cb54a20a..957609b7e 100644
--- a/test/e2e/negative_test.go
+++ b/test/e2e/negative_test.go
@@ -33,6 +33,6 @@ var _ = Describe("Podman negative command-line", func() {
It("podman snuffleupagus exits non-zero", func() {
session := podmanTest.Podman([]string{"snuffleupagus"})
session.WaitWithDefaultTimeout()
- Expect(session.ExitCode()).To(Not(Equal(0)))
+ Expect(session).To(ExitWithError())
})
})