summaryrefslogtreecommitdiff
path: root/test/e2e/ps_test.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2018-02-07 16:50:23 -0500
committerGitHub <noreply@github.com>2018-02-07 16:50:23 -0500
commitdd9ecc7a23595e0478a0e4606e22bd48276ba4f1 (patch)
tree4ec2a358a102e1bb4e1f7a71cb27201d9639b3e6 /test/e2e/ps_test.go
parentc40888cf9f35c188662e2ac52a3a3c01939deae9 (diff)
parent363cfcb0ce1477249a40861ef936f377b95aaf09 (diff)
downloadpodman-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/ps_test.go')
-rw-r--r--test/e2e/ps_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/e2e/ps_test.go b/test/e2e/ps_test.go
index d0aa0bd7c..c4f23c944 100644
--- a/test/e2e/ps_test.go
+++ b/test/e2e/ps_test.go
@@ -4,6 +4,7 @@ import (
"os"
"fmt"
+
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
@@ -100,7 +101,7 @@ var _ = Describe("Podman ps", func() {
result := podmanTest.Podman([]string{"ps", "--last", "2"})
result.WaitWithDefaultTimeout()
Expect(result.ExitCode()).To(Equal(0))
- Expect(len(result.OutputToStringArray())).Should(Equal(4))
+ Expect(len(result.OutputToStringArray())).Should(Equal(3))
})
It("podman ps no-trunc", func() {