diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-12-01 22:41:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-01 22:41:11 +0100 |
commit | fbcebcb46a2444ce078dee10d8d51555bee8f177 (patch) | |
tree | e6140cedf57ebb7c7d79f214a9b42690639c3549 /test/e2e/run_dns_test.go | |
parent | 1422cdbac192c7c9c907f88f11969c028d1e9611 (diff) | |
parent | 9ce7ade8c8dedb6a082614e45aa10d0e37c725cc (diff) | |
download | podman-fbcebcb46a2444ce078dee10d8d51555bee8f177.tar.gz podman-fbcebcb46a2444ce078dee10d8d51555bee8f177.tar.bz2 podman-fbcebcb46a2444ce078dee10d8d51555bee8f177.zip |
Merge pull request #12458 from edsantiago/remove_betrue
e2e: yet more cleanup of BeTrue/BeFalse
Diffstat (limited to 'test/e2e/run_dns_test.go')
-rw-r--r-- | test/e2e/run_dns_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/run_dns_test.go b/test/e2e/run_dns_test.go index beb6390e0..8b6d535e5 100644 --- a/test/e2e/run_dns_test.go +++ b/test/e2e/run_dns_test.go @@ -44,7 +44,7 @@ var _ = Describe("Podman run dns", func() { session := podmanTest.Podman([]string{"run", "--dns-search=.", ALPINE, "cat", "/etc/resolv.conf"}) session.WaitWithDefaultTimeout() Expect(session).Should(Exit(0)) - Expect(session.LineInOutputStartsWith("search")).To(BeFalse()) + Expect(session.OutputToStringArray()).To(Not(ContainElement(HavePrefix("search")))) }) It("podman run add bad dns server", func() { |