]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: mark gocacheverify godebug as undocumented
authorMichael Matloob <matloob@golang.org>
Tue, 18 Apr 2023 16:11:20 +0000 (12:11 -0400)
committerMichael Matloob <matloob@golang.org>
Tue, 18 Apr 2023 16:26:40 +0000 (16:26 +0000)
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>
src/cmd/go/go_test.go

index e9c0b093acba106eb5a74407d359138229862cd4..12f2f69ee3dc82a9715e507f0809bf41ea5cbefb 100644 (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")