summaryrefslogtreecommitdiff
path: root/pkg/specgen/specgen_test.go
diff options
context:
space:
mode:
authorchenkang <kongchen28@gmail.com>2021-10-11 17:41:58 +0800
committerchenkang <kongchen28@gmail.com>2021-10-11 17:41:58 +0800
commit54471acba8fa6a6298615cff9c2130d9c3bc7b2c (patch)
tree01273db9b5e329fe7d63c35bf76f7c828e4d6a13 /pkg/specgen/specgen_test.go
parentdd5975f3d579e64493f9b005eb304b86c478829e (diff)
downloadpodman-54471acba8fa6a6298615cff9c2130d9c3bc7b2c.tar.gz
podman-54471acba8fa6a6298615cff9c2130d9c3bc7b2c.tar.bz2
podman-54471acba8fa6a6298615cff9c2130d9c3bc7b2c.zip
fix test
Signed-off-by: chenkang <kongchen28@gmail.com>
Diffstat (limited to 'pkg/specgen/specgen_test.go')
-rw-r--r--pkg/specgen/specgen_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/specgen/specgen_test.go b/pkg/specgen/specgen_test.go
index 8e00bd4b6..b838d9d30 100644
--- a/pkg/specgen/specgen_test.go
+++ b/pkg/specgen/specgen_test.go
@@ -19,7 +19,7 @@ func TestNewSpecGeneratorWithRootfs(t *testing.T) {
}
for _, args := range tests {
val := NewSpecGenerator(args.rootfs, true)
- assert.Equal(t, val.RootfsOverlay, args.rootfs)
- assert.Equal(t, val.Rootfs, args.rootfs)
+ assert.Equal(t, val.RootfsOverlay, args.expectedRootfsOverlay)
+ assert.Equal(t, val.Rootfs, args.expectedRootfs)
}
}