]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.20] 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)
committerDavid Chase <drchase@google.com>
Fri, 10 Feb 2023 17:41:09 +0000 (17:41 +0000)
commit7628627cb236662002b53686ff0618834a9aa077
tree0e62fedff613e5f86c3c0f915de741cb37f48d54
parent1fa2deb1b1a620511a3c45fcbae895e78d4f5d40
[release-branch.go1.20] 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 a missing vet analyzer
("timeformat") and a missed update to the generator script in
CL 355452.

Fixes #58421.
Updates #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>
(cherry picked from commit 910f041ff0cdf90dbcd3bd22a272b9b7205a5add)
Reviewed-on: https://go-review.googlesource.com/c/go/+/466855
src/cmd/go/internal/test/flagdefs.go
src/cmd/go/internal/test/flagdefs_test.go
src/cmd/go/internal/test/genflags.go