summaryrefslogtreecommitdiff
path: root/test/e2e/save_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/e2e/save_test.go')
-rw-r--r--test/e2e/save_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/e2e/save_test.go b/test/e2e/save_test.go
index 0b3a88da3..9f3f750b7 100644
--- a/test/e2e/save_test.go
+++ b/test/e2e/save_test.go
@@ -253,8 +253,7 @@ func multiImageSave(podmanTest *PodmanTestIntegration, images []string) {
Expect(session).Should(Exit(0))
// Grep for each image in the `podman load` output.
for _, image := range images {
- found, _ := session.GrepString(image)
- Expect(found).Should(BeTrue())
+ Expect(session.OutputToString()).To(ContainSubstring(image))
}
// Make sure that each image has really been loaded.