1
0
mirror of https://github.com/golang/go synced 2024-11-18 16:54:43 -07:00
go/cmd/vet/testdata
Rob Pike 31c219bef7 go.tools/cmd/vet: change reporting of incorrect error count in Printf
The old code was misleading in saying how many args were present.
Change the wording of the message to be unambiguous and change
the presentation of the format to include the full directive, making
it easier to correlate with the input (and fixing a silent bug).
Fixes golang/go#6248.

LGTM=dsymonds
R=golang-codereviews, dsymonds
CC=golang-codereviews
https://golang.org/cl/69120044
2014-03-04 15:41:49 +11:00
..
asm1.s go.tools/cmd/vet: use "go test" to test 2013-05-22 10:20:50 -07:00
asm2.s go.tools/cmd/vet: use "go test" to test 2013-05-22 10:20:50 -07:00
asm3.s go.tools/cmd/vet: use "go test" to test 2013-05-22 10:20:50 -07:00
asm4.s go.tools/cmd/vet: handle symbolic TEXT annotations 2013-11-01 11:49:11 -07:00
asm.go go.tools/cmd/vet: handle symbolic TEXT annotations 2013-11-01 11:49:11 -07:00
assign.go go.tools/cmd/vet: use "go test" to test 2013-05-22 10:20:50 -07:00
atomic.go go.tools/cmd/vet: use "go test" to test 2013-05-22 10:20:50 -07:00
buildtag_bad.go go.tools/cmd/vet: improve error message for build tag problems 2013-12-18 16:06:56 -08:00
buildtag.go go.tools/cmd/vet: improve error message for build tag problems 2013-12-18 16:06:56 -08:00
composite.go go.tools/cmd/vet: the composite test is about keys, not tags 2013-08-03 12:19:59 +10:00
copylock.go cmd/vet: check for sync types being copied during function calls 2013-12-09 20:14:28 -08:00
deadcode.go go.tools/cmd/vet: use "go test" to test 2013-05-22 10:20:50 -07:00
method.go go.tools/cmd/vet: use "go test" to test 2013-05-22 10:20:50 -07:00
nilfunc.go go.tools/cmd/vet: fix build of testdata package 2013-08-21 11:08:25 +10:00
print.go go.tools/cmd/vet: change reporting of incorrect error count in Printf 2014-03-04 15:41:49 +11:00
rangeloop.go go.tools/cmd/vet: use "go test" to test 2013-05-22 10:20:50 -07:00
shadow.go go.tools/cmd/vet: fix build of testdata package 2013-08-21 11:08:25 +10:00
structtag.go go.tools/cmd/vet: use "go test" to test 2013-05-22 10:20:50 -07:00