]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.12] cmd/vet: add tests for point-release issues
authorRuss Cox <rsc@golang.org>
Tue, 30 Apr 2019 17:32:57 +0000 (13:32 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 1 May 2019 15:18:09 +0000 (15:18 +0000)
commitdc6db5f4340675a6c05d03382728d739208d7a3c
treea5a70dda8f169e4781985d24a72a1f49f8bd6d94
parent9ac70939841cbc07ac3e90cb7343a4726ead1010
[release-branch.go1.12] cmd/vet: add tests for point-release issues

Add explicit tests for:

 #30465 cmd/vet: Consider reverting tag conflict for embedded fields
 #30399 cmd/vet: possible to get a printf false positive with big.Int

because we have managed not to fix them in the last
couple point releases, and it will be too embarrassing
to do that yet again.

Change-Id: Ib1da5df870348b6eb9bfc8a87c507ecc6d44b8dd
Reviewed-on: https://go-review.googlesource.com/c/go/+/174520
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/vet/testdata/src/print2/big.go [new file with mode: 0644]
src/cmd/vet/testdata/src/structtag/structtag.go
src/cmd/vet/vet_test.go