mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-07-17 09:49:13 +00:00
Configurable extensions for template parser
This commit is contained in:
@@ -52,7 +52,7 @@ func TestSchemaFiles(t *testing.T) {
|
||||
{
|
||||
name: "rejects non-.template.yaml files",
|
||||
paths: []string{"testdata/ignore.yaml"},
|
||||
wantErr: "file testdata/ignore.yaml did not have required extension .json",
|
||||
wantErr: "file testdata/ignore.yaml does not have any of permitted extensions [.json]",
|
||||
},
|
||||
}
|
||||
for _, tt := range tests {
|
||||
|
||||
Reference in New Issue
Block a user