summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-09-21 13:23:20 +0000
committerGitHub <noreply@github.com>2020-09-21 13:23:20 +0000
commit0a46b9c9e6aab2a5255914b285ae5b3cddb2aa5b (patch)
tree41f8c9bb5802aff0b6482f67477a255308e7bc8b /test
parent84c87fc7d3315ffcc44dde2469a613cb9b5c4190 (diff)
parentc4b49afad37b4e64a1aa2b90f4d3b04626fabd44 (diff)
downloadpodman-0a46b9c9e6aab2a5255914b285ae5b3cddb2aa5b.tar.gz
podman-0a46b9c9e6aab2a5255914b285ae5b3cddb2aa5b.tar.bz2
podman-0a46b9c9e6aab2a5255914b285ae5b3cddb2aa5b.zip
Merge pull request #7696 from jwhonce/wip/version
Refactor version handling in cmd tree
Diffstat (limited to 'test')
-rw-r--r--test/e2e/version_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/e2e/version_test.go b/test/e2e/version_test.go
index 9ddbcc58f..695cccc11 100644
--- a/test/e2e/version_test.go
+++ b/test/e2e/version_test.go
@@ -37,21 +37,21 @@ var _ = Describe("Podman version", func() {
session := podmanTest.Podman([]string{"version"})
session.WaitWithDefaultTimeout()
Expect(session).Should(Exit(0))
- Expect(session.Out.Contents()).Should(ContainSubstring(version.Version))
+ Expect(session.Out.Contents()).Should(ContainSubstring(version.Version.String()))
})
It("podman -v", func() {
session := podmanTest.Podman([]string{"-v"})
session.WaitWithDefaultTimeout()
Expect(session).Should(Exit(0))
- Expect(session.Out.Contents()).Should(ContainSubstring(version.Version))
+ Expect(session.Out.Contents()).Should(ContainSubstring(version.Version.String()))
})
It("podman --version", func() {
session := podmanTest.Podman([]string{"--version"})
session.WaitWithDefaultTimeout()
Expect(session).Should(Exit(0))
- Expect(session.Out.Contents()).Should(ContainSubstring(version.Version))
+ Expect(session.Out.Contents()).Should(ContainSubstring(version.Version.String()))
})
It("podman version --format json", func() {