summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkg')
-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)
}
}