Update error message assertions

This commit is contained in:
Katrina Verey 2022-03-24 20:09:16 -04:00
parent a8e1c67667
commit ac37f69f17
No known key found for this signature in database
GPG Key ID: 836031A2C9F15C08

View File

@ -814,12 +814,12 @@ func TestKustomizeDirectoryBuilder(t *testing.T) {
{
directory: filepath.Join(dir, "kustomization.yaml"),
expectErr: true,
errMsg: "must be a directory to be a root",
errMsg: "must be a directory so that it can used as a build root",
},
{
directory: "../../artifacts/kustomization/should-not-load.yaml",
expectErr: true,
errMsg: "must be a directory to be a root",
errMsg: "must be a directory so that it can used as a build root",
},
}
for _, tt := range tests {