mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 09:24:23 +00:00
convert tests to exercise openapi and inference
This commit is contained in:
@@ -20,7 +20,7 @@ func TestMerge(t *testing.T) {
|
||||
for j := range testCases[i] {
|
||||
tc := testCases[i][j]
|
||||
t.Run(tc.description, func(t *testing.T) {
|
||||
actual, err := MergeStrings(tc.source, tc.dest, !tc.noInfer)
|
||||
actual, err := MergeStrings(tc.source, tc.dest, tc.infer)
|
||||
if !assert.NoError(t, err, tc.description) {
|
||||
t.FailNow()
|
||||
}
|
||||
@@ -47,5 +47,5 @@ type testCase struct {
|
||||
source string
|
||||
dest string
|
||||
expected string
|
||||
noInfer bool
|
||||
infer bool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user