mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 15:58:37 +00:00
nolint unused expectNoMatchDirect function
This commit is contained in:
parent
52c69ba744
commit
c4080c2ad1
@ -148,8 +148,7 @@ func expectMatchDirect(t *testing.T, selector, ls Set) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//nolint:staticcheck //iccheck // U1000 currently commented out in TODO of TestSetMatches
|
//nolint:staticcheck,unused //iccheck // U1000 currently commented out in TODO of TestSetMatches
|
||||||
//nolint:unused,deadcode
|
|
||||||
func expectNoMatchDirect(t *testing.T, selector, ls Set) {
|
func expectNoMatchDirect(t *testing.T, selector, ls Set) {
|
||||||
if SelectorFromSet(selector).Matches(ls) {
|
if SelectorFromSet(selector).Matches(ls) {
|
||||||
t.Errorf("Wanted '%s' to not match '%s', but it did.", selector, ls)
|
t.Errorf("Wanted '%s' to not match '%s', but it did.", selector, ls)
|
||||||
|
Loading…
Reference in New Issue
Block a user