mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 01:14:22 +00:00
Add WNodeFactory.MakeConfigMap,MakeSecret
This commit is contained in:
@@ -39,8 +39,8 @@ data:
|
||||
fruit: apple
|
||||
veggie: celery
|
||||
`
|
||||
if output != expected {
|
||||
t.Fatalf("expected \n%s\nbut got \n%s\n", expected, output)
|
||||
if !assert.Equal(t, expected, output) {
|
||||
t.FailNow()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -79,8 +79,8 @@ metadata:
|
||||
name: foo
|
||||
namespace: bar
|
||||
`
|
||||
if output != expected {
|
||||
t.Fatalf("expected \n%s\nbut got \n%s\n", expected, output)
|
||||
if !assert.Equal(t, expected, output) {
|
||||
t.FailNow()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user