Commit 0c2953e4 authored by Jonathan Amsterdam's avatar Jonathan Amsterdam

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: default avatarMichael Matloob <matloob@golang.org>
parent f2a4c139
...@@ -507,6 +507,7 @@ var testVetFlags = []string{ ...@@ -507,6 +507,7 @@ var testVetFlags = []string{
// "-cgocall", // "-cgocall",
// "-composites", // "-composites",
// "-copylocks", // "-copylocks",
"-errorsas",
// "-httpresponse", // "-httpresponse",
// "-lostcancel", // "-lostcancel",
// "-methods", // "-methods",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment