blob: 0163a811be83ecf4caa9ac847893bdd65ebbdeb0 [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 --
Josh Bleecher Snyderffecb1e2025-04-28 18:59:14 +000024# Errors
25
Josh Bleecher Snyder833a0f82025-04-24 18:39:36 +000026Test regressions detected between initial commit (656e4d573cb77a30ebce29ebb974533ece282946) and HEAD:
27
281: sketch.dev: Previously had no tests, now has build/vet errors
29
30
31Gopls check issues detected:
32
331. /PATH/TO/REPO/p.go:8:2-38: fmt.Printf format %s has arg 10 of wrong type int
34
35IMPORTANT: 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.
36
37
38Please fix before proceeding.