diff --git a/pkg/skaffold/schema/defaults/defaults_test.go b/pkg/skaffold/schema/defaults/defaults_test.go index 2046aafdf32..cdcd73a4441 100644 --- a/pkg/skaffold/schema/defaults/defaults_test.go +++ b/pkg/skaffold/schema/defaults/defaults_test.go @@ -136,7 +136,7 @@ func TestSetDefaults(t *testing.T) { testutil.CheckDeepEqual(t, "eights", cfg.Build.Artifacts[7].ImageName) testutil.CheckDeepEqual(t, 3, *cfg.Build.Artifacts[7].KanikoArtifact.CopyMaxRetries) testutil.CheckDeepEqual(t, "5m", cfg.Build.Artifacts[7].KanikoArtifact.CopyTimeout) - testutil.CheckDeepEqual(t, "1", cfg.Build.Artifacts[7].KanikoArtifact.BuildContextCompressionLevel) + testutil.CheckDeepEqual(t, 1, *cfg.Build.Artifacts[7].KanikoArtifact.BuildContextCompressionLevel) } func TestSetDefaultsOnCluster(t *testing.T) {