@@ -310,21 +310,21 @@ func TestNolintUnused(t *testing.T) {
310
310
}
311
311
312
312
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" })
314
314
defer p .Finish ()
315
315
316
316
processAssertSame (t , p , nolintlintIssueVarcheck )
317
317
})
318
318
319
319
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" })
321
321
defer p .Finish ()
322
322
323
323
processAssertEmpty (t , p , nolintlintIssueVarcheckUnusedOK )
324
324
})
325
325
326
326
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" })
328
328
defer p .Finish ()
329
329
330
330
processAssertEmpty (t , p , []result.Issue {{
0 commit comments