mirror of
https://github.com/containers/podman.git
synced 2025-11-30 18:18:18 +08:00
e2e: yet more cleanup of BeTrue/BeFalse
Thanks to Paul for teaching me about HaveKey() Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
@@ -245,7 +245,7 @@ var _ = Describe("Podman run", 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 use containers.conf search domain", func() {
|
||||
|
||||
Reference in New Issue
Block a user