blob: 8c9dc64939a34ba442b0ae9611dcc6da3f0b7034 [file] [log] [blame]
Josh Bleecher Snyder833a0f82025-04-24 18:39:36 +00001Check that vet errors are detected in a test run
2
3-- p.go --
4package p
5
6-- .commit --
7Initial commit
8
9-- p.go --
10package p
11
12import (
13 "fmt"
14)
15
16func F() {
17 fmt.Printf("Not a string: %s\n", 10)
18}
19
20-- .commit --
21Add vet error
22
23-- .run_test --
24Test regressions detected between initial commit (656e4d573cb77a30ebce29ebb974533ece282946) and HEAD:
25
261: sketch.dev: Previously had no tests, now has build/vet errors
27
28
29Gopls check issues detected:
30
311. /PATH/TO/REPO/p.go:8:2-38: fmt.Printf format %s has arg 10 of wrong type int
32
33IMPORTANT: 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.
34
35
36Please fix before proceeding.