diff --git a/test/testdata/fix/in/nolintlint.go b/test/testdata/fix/in/nolintlint.go index ca1ef165509b..7f17fa91226c 100644 --- a/test/testdata/fix/in/nolintlint.go +++ b/test/testdata/fix/in/nolintlint.go @@ -10,7 +10,4 @@ func nolintlint() { // note that the next lines will retain trailing whitespace when fixed fmt.Println() //nolint // nolint should be dropped fmt.Println() //nolint:lll // nolint should be dropped - fmt.Println() //nolint:alice,lll,bob // enabled linter should be dropped - fmt.Println() //nolint:alice,lll, bob // enabled linter should be dropped but whitespace preserved - fmt.Println() //nolint:alice,lll,bob,nolintlint // enabled linter should not be dropped when nolintlint is nolinted } diff --git a/test/testdata/fix/out/nolintlint.go b/test/testdata/fix/out/nolintlint.go index cfa23fa6491e..81f021dbffd3 100644 --- a/test/testdata/fix/out/nolintlint.go +++ b/test/testdata/fix/out/nolintlint.go @@ -10,7 +10,4 @@ func nolintlint() { // note that the next lines will retain trailing whitespace when fixed fmt.Println() fmt.Println() - fmt.Println() //nolint:alice,bob // enabled linter should be dropped - fmt.Println() //nolint:alice, bob // enabled linter should be dropped but whitespace preserved - fmt.Println() //nolint:alice,lll,bob,nolintlint // enabled linter should not be dropped when nolintlint is nolinted }