Skip to content

Commit

Permalink
annot-exclusion: TestRemoveUnstructuredKeys wasn't doing anything
Browse files Browse the repository at this point in the history
Co-authored-by: Richard Wall <wallrj@users.noreply.github.com>
  • Loading branch information
maelvls and wallrj authored Nov 14, 2024
1 parent 120453f commit 50aaabc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/datagatherer/k8s/dynamic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1228,6 +1228,7 @@ func run_TestRemoveUnstructuredKeys(tc tc_RemoveUnstructuredKeys) func(*testing.
return func(t *testing.T) {
t.Helper()
RemoveUnstructuredKeys(toRegexps(tc.givenExclude), &unstructured.Unstructured{Object: tc.givenObj}, tc.givenPath...)
assert.Equal(t, tc.expectObj, tc.givenObj)
}
}

Expand Down

0 comments on commit 50aaabc

Please sign in to comment.