diff options
author | Praveen Kumar <praveen+git@kumar.in> | 2021-10-29 11:10:26 -0700 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2021-11-12 11:08:25 -0500 |
commit | 0ded340e6bbc7952678d93029726ec83992e5010 (patch) | |
tree | ca0b3afcc99cfd237616de7d1462a92c09912583 /test | |
parent | fa29ca7106a332ef62ccd73d474c8e7d831b1f9d (diff) | |
download | podman-0ded340e6bbc7952678d93029726ec83992e5010.tar.gz podman-0ded340e6bbc7952678d93029726ec83992e5010.tar.bz2 podman-0ded340e6bbc7952678d93029726ec83992e5010.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"), + ) + }) }) |