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 cdc5e7f1e..a8fb6c7b3 100644
--- a/test/e2e/save_test.go
+++ b/test/e2e/save_test.go
@@ -255,8 +255,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.