]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/test: refresh flagdefs.go and fix test
authorBryan C. Mills <bcmills@google.com>
Wed, 8 Feb 2023 19:36:47 +0000 (14:36 -0500)
committerGopher Robot <gobot@golang.org>
Wed, 8 Feb 2023 23:52:18 +0000 (23:52 +0000)
commit910f041ff0cdf90dbcd3bd22a272b9b7205a5add
tree5c237cb1806bd6b97cdcdd585e36ffc89b452d2e
parent0d8d181bd575dca359266a1008b436b50db8ba18
cmd/go/internal/test: refresh flagdefs.go and fix test

The tests for cmd/go/internal/test were not running at all due to a
missed call to m.Run in TestMain. That masked two missing vet
analyzers ("directive" and "timeformat") and a missed update to the
generator script in CL 355452.

Fixes #58415.

Change-Id: I7b0315952967ca07a866cdaa5903478b2873eb7a
Reviewed-on: https://go-review.googlesource.com/c/go/+/466635
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
src/cmd/go/internal/test/flagdefs.go
src/cmd/go/internal/test/flagdefs_test.go
src/cmd/go/internal/test/genflags.go