Skip to content

Commit

Permalink
Additional debug output to TestUnallowedResourcesInManifest
Browse files Browse the repository at this point in the history
  • Loading branch information
lberk committed Mar 11, 2021
1 parent 99e341e commit 432af67
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func TestUnallowedResourcesInManifest(t *testing.T) {
}
manifest = manifest.Filter(notAllowed)
if len(manifest.Resources()) > 0 && !test.fails {
t.Fatalf("Manifest at path '%s' has unallowed resources", test.path)
t.Fatalf("Manifest at path '%s' has unallowed resources: %+v", test.path, manifest.Resources())
}
if len(manifest.Resources()) == 0 && test.fails {
t.Fatalf("Manifest at path '%s' should have unallowed resources, but it does not. Perhaps the check for unallowed resources is not working?", test.path)
Expand Down

0 comments on commit 432af67

Please sign in to comment.