diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-09-05 12:49:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-05 12:49:21 +0200 |
commit | b962b1e3538312f145aea0cf5546ae31f35f635f (patch) | |
tree | 3a385453db942b9d8ba62dc8a96ec1d68f4634cd /test/e2e/rmi_test.go | |
parent | e74fcd73357954fe5a0b027cf195c04345703985 (diff) | |
parent | 95f5411e88cb8b40142a7000dc0d1a90071e5c50 (diff) | |
download | podman-b962b1e3538312f145aea0cf5546ae31f35f635f.tar.gz podman-b962b1e3538312f145aea0cf5546ae31f35f635f.tar.bz2 podman-b962b1e3538312f145aea0cf5546ae31f35f635f.zip |
Merge pull request #3943 from gabibeyer/fix_tests
Fix unit tests missing comparative for 'Expect'
Diffstat (limited to 'test/e2e/rmi_test.go')
-rw-r--r-- | test/e2e/rmi_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/e2e/rmi_test.go b/test/e2e/rmi_test.go index d4e2407ec..506adee7e 100644 --- a/test/e2e/rmi_test.go +++ b/test/e2e/rmi_test.go @@ -282,6 +282,7 @@ RUN find $LOCAL session := podmanTest.PodmanNoCache([]string{"image", "rm"}) session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(125)) - Expect(session.LineInOutputContains("image name or ID must be specified")) + match, _ := session.ErrorGrepString("image name or ID must be specified") + Expect(match).To(BeTrue()) }) }) |