blob: 910e20c5c987ee7549f0773488c8e7d14ae793a5 [file] [log] [blame]
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