improve error messages

This commit is contained in:
koba1t
2023-01-07 03:30:16 +09:00
parent 5fed0f76c8
commit 6489e35b7c
6 changed files with 7 additions and 6 deletions

View File

@@ -266,7 +266,7 @@ radon
t.Fatalf("expected an error")
}
assert.Contains(t, err.Error(),
"kustomization unmarshal error: error converting YAML to JSON: yaml: unmarshal errors:\n"+
"invalid Kustomization: error converting YAML to JSON: yaml: unmarshal errors:\n"+
" line 13: key \"literals\" already set in map\n line 18: key \"files\" already set in map")
}