fix #243: support Scopelint linter

This commit is contained in:
Denis Isaev 2018-11-05 22:29:45 +03:00 committed by Isaev Denis
parent ccac35a87e
commit 84c9c65f39
13 changed files with 176 additions and 1 deletions

View file

@ -153,6 +153,7 @@ func TestNolintAliases(t *testing.T) {
p := newTestNolintProcessor(getOkLogger(ctrl))
for _, line := range []int{47, 49, 51} {
line := line
t.Run(fmt.Sprintf("line-%d", line), func(t *testing.T) {
processAssertEmpty(t, p, newNolintFileIssue(line, "gosec"))
})