summaryrefslogtreecommitdiff
path: root/test/e2e/container_create_volume_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/e2e/container_create_volume_test.go')
-rw-r--r--test/e2e/container_create_volume_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/container_create_volume_test.go b/test/e2e/container_create_volume_test.go
index 0dac96a5e..572885fd6 100644
--- a/test/e2e/container_create_volume_test.go
+++ b/test/e2e/container_create_volume_test.go
@@ -62,7 +62,7 @@ func checkDataVolumeContainer(pTest *PodmanTestIntegration, image, cont, dest, d
Expect(err).To(BeNil())
if data == "" {
- Expect(len(files)).To(Equal(0))
+ Expect(files).To(BeEmpty())
} else {
Expect(len(files)).To(Equal(1))
Expect(files[0].Name()).To(Equal(data))