blob: eaaf0c29824c590e02bc8637968d223b0381eb0f [file] [log] [blame]
Verify that gopls provides vet error coverage
-- p.go --
package p
-- .commit --
Initial commit
-- p.go --
package p
import (
"fmt"
)
func F() {
fmt.Printf("Not a string: %s\n", 10)
}
-- .commit --
Add vet error
-- .run_test --
# Errors
Gopls check issues detected:
1. /PATH/TO/REPO/p.go:8:2-38: fmt.Printf format %s has arg 10 of wrong type int
IMPORTANT: Only fix new gopls check issues in parts of the code that you have already edited. Do not change existing code that was not part of your current edits.
Please fix before proceeding.