| Test that gopls/vet diagnostic checks for redundant newlines are completely filtered out with no errors reported | |
| See https://github.com/boldsoftware/sketch/issues/95 and https://github.com/golang/go/issues/57059 | |
| -- p.go -- | |
| package p | |
| -- .commit -- | |
| Initial commit | |
| -- p.go -- | |
| package p | |
| import "fmt" | |
| func F() { | |
| fmt.Println("abc\n") | |
| } | |
| -- .commit -- | |
| Add file with redundant newline error | |
| -- .run_test -- | |
| OK |