Add WNodeFactory.MakeConfigMap,MakeSecret

This commit is contained in:
jregan
2020-11-17 17:04:31 -08:00
parent f7613631d1
commit 486be07e22
5 changed files with 495 additions and 11 deletions

View File

@@ -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()
}
}