Skip to content

Commit

Permalink
review: fix new rule
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Aug 17, 2023
1 parent da47474 commit e6c8a05
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/result/processors/nolint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,9 @@ func TestIgnoredRangeMatches(t *testing.T) {
},
linters: testcase.linters,
}
assert.Equal(t, testcase.expected, ir.doesMatch(&testcase.issue), testcase.doc)

l := testcase.issue
assert.Equal(t, testcase.expected, ir.doesMatch(&l), testcase.doc)
}
}

Expand Down

0 comments on commit e6c8a05

Please sign in to comment.