diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2018-02-07 16:50:23 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-07 16:50:23 -0500 |
commit | dd9ecc7a23595e0478a0e4606e22bd48276ba4f1 (patch) | |
tree | 4ec2a358a102e1bb4e1f7a71cb27201d9639b3e6 /test/e2e/images_test.go | |
parent | c40888cf9f35c188662e2ac52a3a3c01939deae9 (diff) | |
parent | 363cfcb0ce1477249a40861ef936f377b95aaf09 (diff) | |
download | podman-dd9ecc7a23595e0478a0e4606e22bd48276ba4f1.tar.gz podman-dd9ecc7a23595e0478a0e4606e22bd48276ba4f1.tar.bz2 podman-dd9ecc7a23595e0478a0e4606e22bd48276ba4f1.zip |
Merge pull request #290 from umohnani8/templates
Fix when the --format flag prints a new line at the end
Diffstat (limited to 'test/e2e/images_test.go')
-rw-r--r-- | test/e2e/images_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/e2e/images_test.go b/test/e2e/images_test.go index 099331c94..4c7c93e4b 100644 --- a/test/e2e/images_test.go +++ b/test/e2e/images_test.go @@ -32,7 +32,7 @@ var _ = Describe("Podman images", func() { session := podmanTest.Podman([]string{"images"}) session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) - Expect(len(session.OutputToStringArray())).To(BeNumerically(">", 3)) + Expect(len(session.OutputToStringArray())).To(BeNumerically(">", 2)) Expect(session.LineInOuputStartsWith("docker.io/library/alpine")).To(BeTrue()) Expect(session.LineInOuputStartsWith("docker.io/library/busybox")).To(BeTrue()) }) @@ -48,6 +48,6 @@ var _ = Describe("Podman images", func() { session := podmanTest.Podman([]string{"images", "-qn"}) session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) - Expect(len(session.OutputToStringArray())).To(BeNumerically(">", 2)) + Expect(len(session.OutputToStringArray())).To(BeNumerically(">", 1)) }) }) |