diff --git a/api/krusty/inlinelabels_test.go b/api/krusty/inlinelabels_test.go index ce93d2d79..95254c8dc 100644 --- a/api/krusty/inlinelabels_test.go +++ b/api/krusty/inlinelabels_test.go @@ -224,7 +224,7 @@ spec: `) } -func TestKustomizationLabelsInTemplateWhenResourceHasNoTemplate(t *testing.T) { +func TestKustomizationLabelsDoesNotCreateInvalidTemplatePaths(t *testing.T) { th := kusttest_test.MakeHarness(t) th.WriteF("app/deployment.yaml", ` apiVersion: apps/v1