improve tests for alternative kustomization file names

This commit is contained in:
Jeffrey Regan
2019-10-04 10:17:49 -07:00
parent 404d2d631a
commit 07e0e46ac7
15 changed files with 61 additions and 43 deletions

View File

@@ -389,7 +389,8 @@ func TestNewLoaderAtGitClone(t *testing.T) {
fSys.MkdirAll(coRoot)
fSys.MkdirAll(coRoot + "/" + pathInRepo)
fSys.WriteFile(
coRoot+"/"+pathInRepo+"/"+pgmconfig.KustomizationFileName0,
coRoot+"/"+pathInRepo+"/"+
pgmconfig.DefaultKustomizationFileName(),
[]byte(`
whatever
`))