From 95462e802a53e7fee38847b0b66200a8edc8a4ba Mon Sep 17 00:00:00 2001 From: Alexandre Fourcat Date: Sun, 10 Jan 2021 21:27:04 +0900 Subject: 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 --- test/e2e/search_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'test') 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() { -- cgit v1.2.3-54-g00ecf