Skip to content

Commit 34bd373

Browse files
committed
Fix the test data
1 parent 3e4a868 commit 34bd373

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/testdata/nolintlint_unused.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ package testdata
55
import "fmt"
66

77
func Foo() {
8-
fmt.Println("unused") //nolint // ERROR "directive `//nolint .*` is unused"
9-
fmt.Println("unused,specific") //nolint:varcheck // ERROR "directive `//nolint:varcheck .*` is unused for linter varcheck"
10-
fmt.Println("not run") //nolint:unparam // unparam is not run so this is ok
8+
fmt.Println("unused") // nolint // ERROR "directive `//nolint .*` is unused"
9+
fmt.Println("unused,specific") // nolint:varcheck // ERROR "directive `//nolint:varcheck .*` is unused for linter varcheck"
10+
fmt.Println("not run") // nolint:unparam // unparam is not run so this is ok
1111
}

0 commit comments

Comments
 (0)