mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-05-17 18:25:26 +00:00
add another test
This commit is contained in:
@@ -166,10 +166,16 @@ func TestFindPatchTargets(t *testing.T) {
|
||||
},
|
||||
{
|
||||
target: types.Selector{
|
||||
Namespace: "foo",
|
||||
Namespace: "NotMatched",
|
||||
},
|
||||
count: 0,
|
||||
},
|
||||
{
|
||||
target: types.Selector{
|
||||
Namespace: "ns1",
|
||||
},
|
||||
count: 1,
|
||||
},
|
||||
}
|
||||
for _, testcase := range testcases {
|
||||
actual, err := rm.Select(testcase.target)
|
||||
|
||||
Reference in New Issue
Block a user