]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: fix typo in GoGetInsecure to actually set GOPROXY
authorBryan C. Mills <bcmills@google.com>
Tue, 12 Mar 2019 20:43:45 +0000 (16:43 -0400)
committerBryan C. Mills <bcmills@google.com>
Tue, 12 Mar 2019 21:08:33 +0000 (21:08 +0000)
I typo'd this variable in CL 165745, and neither I, the reviewer, nor the TryBots noticed.
But the longtest builder noticed, and it's not happy about it.

Updates #30571

Change-Id: I5e3d267346407855ec0d1f340a72dc2c521ecc63
Reviewed-on: https://go-review.googlesource.com/c/go/+/167086
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/cmd/go/go_test.go

index 19fbf6d718b529f3be0231ce3217064f723c689c..f25d6f4503cbd3148c98bd775742288fcc1f94a3 100644 (file)
@@ -3670,7 +3670,7 @@ func TestGoGetInsecure(t *testing.T) {
                        tg.tempFile("go.mod", "module m")
                        tg.cd(tg.path("."))
                        tg.setenv("GO111MODULE", "on")
-                       tg.setenv("GO111PROXY", "")
+                       tg.setenv("GOPROXY", "")
                } else {
                        tg.setenv("GOPATH", tg.path("."))
                        tg.setenv("GO111MODULE", "off")