diff --git a/k8sdeps/kunstruct/factory_test.go b/k8sdeps/kunstruct/factory_test.go index 2ef4acaa9..51e2be793 100644 --- a/k8sdeps/kunstruct/factory_test.go +++ b/k8sdeps/kunstruct/factory_test.go @@ -109,6 +109,18 @@ WOOOOOOOOOOOOOOOOOOOOOOOOT: woot expectedOut: []ifc.Kunstructured{}, expectedErr: true, }, + { + name: "emptyObjects", + input: []byte(` +--- +#a comment + +--- + +`), + expectedOut: []ifc.Kunstructured{}, + expectedErr: false, + }, { name: "Missing .metadata.name in object", input: []byte(`