aboutsummaryrefslogtreecommitdiff
path: root/src/net/http/export_test.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2018-06-28 00:05:46 -0400
committerIan Lance Taylor <iant@golang.org>2018-06-28 22:17:10 +0000
commit0d52c144a2564fbd5b755cd06759ab7d6870c85b (patch)
treea9fbe91946327e0feef2bdc7ba560a87218d98d7 /src/net/http/export_test.go
parent578b961727e65787160af389272517098b37b4ef (diff)
downloadgo-0d52c144a2564fbd5b755cd06759ab7d6870c85b.tar.xz
cmd/vet: fix ironic misuse of fmt.Sprintf
Move badf helper into top-level function so that prints from buildtag.go are once again themselves printf-format-checked by vet. Also, fix implementation, which was missing a ... in the Sprintf call and produced messages like: /Users/rsc/x_test.go:1: +build comment must appear before package clause and be followed by a blank line%!(EXTRA []interface {}=[]) These were introduced in CL 111415. Change-Id: I000af3a4e01dc99fc79c9146aa68a71dace1460f Reviewed-on: https://go-review.googlesource.com/121300 Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'src/net/http/export_test.go')
0 files changed, 0 insertions, 0 deletions