Skip to content

Commit

Permalink
make TestResourcesRepoNotFile even less specific
Browse files Browse the repository at this point in the history
  • Loading branch information
natasha41575 committed Jan 31, 2023
1 parent d91e31c commit c8b112c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/krusty/localizer/runner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ func TestResourcesRepoNotFile(t *testing.T) {

_, err := localizer.Run(fsActual, testDir.String(), "", testDir.Join("dst"))

fileErr := fmt.Sprintf(`invalid resource at file "%s": MalformedYAMLError`, repo)
fileErr := fmt.Sprintf(`invalid resource at file "%s"`, repo)
rootErr := fmt.Sprintf(`unable to localize root "%s": unable to find one of 'kustomization.yaml', 'kustomization.yml' or 'Kustomization'`, repo)
var actualErr PathLocalizeError
require.ErrorAs(t, err, &actualErr)
Expand Down

0 comments on commit c8b112c

Please sign in to comment.