diff options
author | Praveen Kumar <praveen+git@kumar.in> | 2021-10-29 11:10:26 -0700 |
---|---|---|
committer | Praveen Kumar <praveen+git@kumar.in> | 2021-10-29 11:49:49 -0700 |
commit | e69eae6458737e73e9a9b61297f1f911f0fb6599 (patch) | |
tree | b886219e9be991f715e1898cd98d583dc26e4d5d /test | |
parent | 1305902ff40989099ffe13efd32458565cbc11c6 (diff) | |
download | podman-e69eae6458737e73e9a9b61297f1f911f0fb6599.tar.gz podman-e69eae6458737e73e9a9b61297f1f911f0fb6599.tar.bz2 podman-e69eae6458737e73e9a9b61297f1f911f0fb6599.zip |
Fix help message case for `podman version`
This is a cosmetic change. The help message for `podman version` is in
title case whereas all other command help messages are not in title
case. This stands out as inconsistent when looking at the output of
`podman help`.
Signed-off-by: Praveen Kumar <praveen+git@kumar.in>
Diffstat (limited to 'test')
-rw-r--r-- | test/e2e/version_test.go | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/test/e2e/version_test.go b/test/e2e/version_test.go index 75986e671..9398248b8 100644 --- a/test/e2e/version_test.go +++ b/test/e2e/version_test.go @@ -31,7 +31,6 @@ var _ = Describe("Podman version", func() { f := CurrentGinkgoTestDescription() processTestResult(f) podmanTest.SeedImages() - }) It("podman version", func() { @@ -96,4 +95,13 @@ var _ = Describe("Podman version", func() { session.WaitWithDefaultTimeout() Expect(session).Should(Exit(0)) }) + + It("podman help", func() { + session := podmanTest.Podman([]string{"help"}) + session.WaitWithDefaultTimeout() + Expect(session).Should(Exit(0)) + Expect(session.Out.Contents()).Should( + ContainSubstring("Display the Podman version information"), + ) + }) }) |