Skip to content

Commit

Permalink
nolint unused expectNoMatchDirect function
Browse files Browse the repository at this point in the history
Kubernetes-commit: c4080c2ad1e0af0dbb8fc6871f3310b3c18a7024
  • Loading branch information
Antonio Ojea authored and k8s-publishing-bot committed Nov 16, 2021
1 parent c3a9c93 commit 3c77d51
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/labels/selector_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,7 @@ func expectMatchDirect(t *testing.T, selector, ls Set) {
}
}

//nolint:staticcheck //iccheck // U1000 currently commented out in TODO of TestSetMatches
//nolint:unused,deadcode
//nolint:staticcheck,unused //iccheck // U1000 currently commented out in TODO of TestSetMatches
func expectNoMatchDirect(t *testing.T, selector, ls Set) {
if SelectorFromSet(selector).Matches(ls) {
t.Errorf("Wanted '%s' to not match '%s', but it did.", selector, ls)
Expand Down

0 comments on commit 3c77d51

Please sign in to comment.