Skip to content

Commit df61b73

Browse files
committed
tests: change linter names order
1 parent 478195c commit df61b73

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/result/processors/nolint_filter_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -317,21 +317,21 @@ func TestNolintFilter_Process_unused(t *testing.T) {
317317
}
318318

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

323323
processAssertSame(t, p, nolintlintIssueMisspell)
324324
})
325325

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

330330
processAssertEmpty(t, p, nolintlintIssueMisspellUnusedOK)
331331
})
332332

333333
t.Run("when an issue occurs, it is removed from the nolintlint issues", func(t *testing.T) {
334-
p := createProcessor(t, log, []string{"nolintlint", "misspell"})
334+
p := createProcessor(t, log, []string{"misspell", "nolintlint"})
335335
defer p.Finish()
336336

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

0 commit comments

Comments
 (0)