nolint unused expectNoMatchDirect function

This commit is contained in:
Antonio Ojea 2021-11-16 18:58:10 +01:00
parent 52c69ba744
commit c4080c2ad1

View File

@ -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)