Skip to content

Commit 778a28f

Browse files
committed
chore: update tests
1 parent 35c89eb commit 778a28f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/result/processors/nolint_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -310,21 +310,21 @@ func TestNolintUnused(t *testing.T) {
310310
}
311311

312312
t.Run("when an issue does not occur, it is not removed from the nolintlint issues", func(t *testing.T) {
313-
p := createProcessor(t, log, []string{"nolintlint", "varcheck"})
313+
p := createProcessor(t, log, []string{"nolintlint", "typecheck", "varcheck"})
314314
defer p.Finish()
315315

316316
processAssertSame(t, p, nolintlintIssueVarcheck)
317317
})
318318

319319
t.Run("when an issue does not occur but nolintlint is nolinted, it is removed from the nolintlint issues", func(t *testing.T) {
320-
p := createProcessor(t, log, []string{"nolintlint", "varcheck"})
320+
p := createProcessor(t, log, []string{"nolintlint", "typecheck", "varcheck"})
321321
defer p.Finish()
322322

323323
processAssertEmpty(t, p, nolintlintIssueVarcheckUnusedOK)
324324
})
325325

326326
t.Run("when an issue occurs, it is removed from the nolintlint issues", func(t *testing.T) {
327-
p := createProcessor(t, log, []string{"nolintlint", "varcheck"})
327+
p := createProcessor(t, log, []string{"nolintlint", "typecheck", "varcheck"})
328328
defer p.Finish()
329329

330330
processAssertEmpty(t, p, []result.Issue{{

0 commit comments

Comments
 (0)