summaryrefslogtreecommitdiff
path: root/test/e2e/image_scp_test.go
diff options
context:
space:
mode:
authorEd Santiago <santiago@redhat.com>2021-12-01 08:19:55 -0700
committerEd Santiago <santiago@redhat.com>2021-12-02 07:54:53 -0700
commit478f2da5d6bedf6390be1c0f3928f9ec13894d6d (patch)
tree03b762f70d3ba918d378da0552e720a55731d2fa /test/e2e/image_scp_test.go
parent6b5ecde76ebb177b1ab1dd9e9555fc198ad90858 (diff)
downloadpodman-478f2da5d6bedf6390be1c0f3928f9ec13894d6d.tar.gz
podman-478f2da5d6bedf6390be1c0f3928f9ec13894d6d.tar.bz2
podman-478f2da5d6bedf6390be1c0f3928f9ec13894d6d.zip
e2e tests: a little more minor cleanup
sed -i -e 's/Expect(\(.*\)\[\(\".*\"\)\])\.To(Equal(/Expect(\1).To(HaveKeyWithValue(\2, /' test/e2e/*_test.go ...with two manual tweaks, because this converted: Expect(foo["bar"]).To(Equal("")) -> Expect(foo).To(HaveKeyWithValue("bar","")) It looks like the intention of the test was, instead: ...To(Not(HaveKey("bar"))) Signed-off-by: Ed Santiago <santiago@redhat.com>
Diffstat (limited to 'test/e2e/image_scp_test.go')
-rw-r--r--test/e2e/image_scp_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/image_scp_test.go b/test/e2e/image_scp_test.go
index 6c6c85bc3..6651a04b5 100644
--- a/test/e2e/image_scp_test.go
+++ b/test/e2e/image_scp_test.go
@@ -109,7 +109,7 @@ var _ = Describe("podman image scp", func() {
cfg, err := config.ReadCustomConfig()
Expect(err).ShouldNot(HaveOccurred())
Expect(cfg.Engine.ActiveService).To(Equal("QA"))
- Expect(cfg.Engine.ServiceDestinations["QA"]).To(Equal(
+ Expect(cfg.Engine.ServiceDestinations).To(HaveKeyWithValue("QA",
config.Destination{
URI: "ssh://root@server.fubar.com:2222/run/podman/podman.sock",
},