mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 01:14:22 +00:00
fix testcases on runfn_test.go
This commit is contained in:
@@ -287,6 +287,21 @@ metadata:
|
||||
{
|
||||
explicitFunction: true,
|
||||
value: `
|
||||
apiVersion: example.com/v1alpha1
|
||||
kind: ExampleFunction
|
||||
metadata:
|
||||
annotations:
|
||||
foo: bar
|
||||
`,
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "invalid input object",
|
||||
in: []f{
|
||||
{
|
||||
explicitFunction: true,
|
||||
value: `
|
||||
foo: bar
|
||||
`,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user