Skip to content

Commit e6c8a05

Browse files
committed
review: fix new rule
1 parent da47474 commit e6c8a05

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

pkg/result/processors/nolint_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,9 @@ func TestIgnoredRangeMatches(t *testing.T) {
244244
},
245245
linters: testcase.linters,
246246
}
247-
assert.Equal(t, testcase.expected, ir.doesMatch(&testcase.issue), testcase.doc)
247+
248+
l := testcase.issue
249+
assert.Equal(t, testcase.expected, ir.doesMatch(&l), testcase.doc)
248250
}
249251
}
250252

0 commit comments

Comments
 (0)