1
0
mirror of https://github.com/golang/go synced 2024-11-26 14:56:47 -07:00

cmd/go: mark gocacheverify godebug as undocumented

This avoids the panic for godebugs without documentation. Perhaps we
eventually want to remove this godebug.

Change-Id: I032cdded0f3ccf6681821286e2cb6f0b90a318c3
Reviewed-on: https://go-review.googlesource.com/c/go/+/485756
Reviewed-by: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
TryBot-Bypass: Michael Matloob <matloob@golang.org>
Run-TryBot: Michael Matloob <matloob@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
This commit is contained in:
Michael Matloob 2023-04-18 12:11:20 -04:00
parent 2c64b50d3a
commit c9d5df0848

View File

@ -2338,7 +2338,7 @@ func TestUpxCompression(t *testing.T) {
}
}
var gocacheverify = godebug.New("gocacheverify")
var gocacheverify = godebug.New("#gocacheverify")
func TestCacheListStale(t *testing.T) {
tooSlow(t, "links a binary")