1
0
mirror of https://github.com/golang/go synced 2024-11-26 20:01:19 -07:00

cmd/go: include -errorsas in go test vet checks

Make "go test" run the new errorsas vet check by default.

Fixes #31213.

Change-Id: I5c93c000874ffe1c0b6d647bf10de803f414c5c1
Reviewed-on: https://go-review.googlesource.com/c/go/+/179977
Run-TryBot: Jonathan Amsterdam <jba@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
This commit is contained in:
Jonathan Amsterdam 2019-06-01 17:43:09 -04:00
parent f2a4c139c1
commit 0c2953e4cb

View File

@ -507,6 +507,7 @@ var testVetFlags = []string{
// "-cgocall",
// "-composites",
// "-copylocks",
"-errorsas",
// "-httpresponse",
// "-lostcancel",
// "-methods",