summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlexandre Fourcat <afourcat@gmail.com>2021-01-10 21:27:04 +0900
committerAlexandre Fourcat <afourcat@gmail.com>2021-01-11 19:14:18 +0900
commit95462e802a53e7fee38847b0b66200a8edc8a4ba (patch)
tree74a0d41147466329c9cca0a2add1b09807fe9abf /test
parente1302a302314cb6b7a5558c0b8c36ce722d5cc20 (diff)
downloadpodman-95462e802a53e7fee38847b0b66200a8edc8a4ba.tar.gz
podman-95462e802a53e7fee38847b0b66200a8edc8a4ba.tar.bz2
podman-95462e802a53e7fee38847b0b66200a8edc8a4ba.zip
Better test and idomatic code.
Adding another check in the `podman search --list-tags --format json` test case. Replacing an anonymous struct by \`listEntryTag\` struct. Signed-off-by: Alexandre Fourcat <afourcat@gmail.com>
Diffstat (limited to 'test')
-rw-r--r--test/e2e/search_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/e2e/search_test.go b/test/e2e/search_test.go
index 4a04a88cd..1d86ae744 100644
--- a/test/e2e/search_test.go
+++ b/test/e2e/search_test.go
@@ -131,6 +131,7 @@ registries = ['{{.Host}}:{{.Port}}']`
Expect(search.IsJSONOutputValid()).To(BeTrue())
Expect(search.OutputToString()).To(ContainSubstring("docker.io/library/alpine"))
Expect(search.OutputToString()).To(ContainSubstring("3.10"))
+ Expect(search.OutputToString()).To(ContainSubstring("2.7"))
})
It("podman search no-trunc flag", func() {