Skip to content

Commit 50aaabc

Browse files
maelvlswallrj
andauthored
annot-exclusion: TestRemoveUnstructuredKeys wasn't doing anything
Co-authored-by: Richard Wall <[email protected]>
1 parent 120453f commit 50aaabc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/datagatherer/k8s/dynamic_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1228,6 +1228,7 @@ func run_TestRemoveUnstructuredKeys(tc tc_RemoveUnstructuredKeys) func(*testing.
12281228
return func(t *testing.T) {
12291229
t.Helper()
12301230
RemoveUnstructuredKeys(toRegexps(tc.givenExclude), &unstructured.Unstructured{Object: tc.givenObj}, tc.givenPath...)
1231+
assert.Equal(t, tc.expectObj, tc.givenObj)
12311232
}
12321233
}
12331234

0 commit comments

Comments
 (0)