]> Cypherpunks repositories - gostls13.git/commit
fmt: hide bad format in test from vet
authorRuss Cox <rsc@golang.org>
Tue, 31 Oct 2017 03:14:21 +0000 (23:14 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 31 Oct 2017 13:49:53 +0000 (13:49 +0000)
commit8f4f1f63e9d5d171a669d0a9c4594bbaaf9ea6f7
tree23ba17a2f738d62d35b9f47def3babefacff7eb0
parent9364c0e337dfc2c5ae3b1e66823d41e9408530cb
fmt: hide bad format in test from vet

Hide in the source code instead of in the separate whitelist.
Removes the only printf false positive in the standard library.

Change-Id: I99285e67588c7c93bd56d59ee768a03be7c301e7
Reviewed-on: https://go-review.googlesource.com/74590
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
src/cmd/vet/all/whitelist/all.txt
src/fmt/fmt_test.go