blob: 910e20c5c987ee7549f0773488c8e7d14ae793a5 [file] [log] [blame]
Josh Bleecher Snyderde5f7442025-05-15 18:32:32 +00001Test that gopls/vet diagnostic checks for redundant newlines are completely filtered out with no errors reported
2
3See https://github.com/boldsoftware/sketch/issues/95 and https://github.com/golang/go/issues/57059
4
5-- p.go --
6package p
7
8-- .commit --
9Initial commit
10
11-- p.go --
12package p
13
14import "fmt"
15
16func F() {
17 fmt.Println("abc\n")
18}
19
20-- .commit --
21Add file with redundant newline error
22
23-- .run_test --
24OK