From 544fc60bfe67acf8a55dec29ee026ee225506fd7 Mon Sep 17 00:00:00 2001 From: Donny Xia Date: Mon, 21 Sep 2020 12:24:47 -0700 Subject: [PATCH] add another test --- api/resmap/selector_test.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/api/resmap/selector_test.go b/api/resmap/selector_test.go index 8fb79d865..f4ef6b2ea 100644 --- a/api/resmap/selector_test.go +++ b/api/resmap/selector_test.go @@ -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)