cmd/go: 'go test -mod=mod' fails if GOFLAGS contains a default -mod setting #35827
Labels
FrozenDueToAge
modules
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
go test -mod=mod
does not successfully override a-mod
flag specified inGOFLAGS
.Instead, it fails with
go test: mod flag may be set only once
.Script test to reproduce:
Output:
CC @jayconrod
The text was updated successfully, but these errors were encountered: