From: Bryan C. Mills Date: Tue, 12 Mar 2019 20:43:45 +0000 (-0400) Subject: cmd/go: fix typo in GoGetInsecure to actually set GOPROXY X-Git-Tag: go1.13beta1~1076 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=01d1dc4172793edfc597f7abe5da38f7f232b69a;p=gostls13.git cmd/go: fix typo in GoGetInsecure to actually set GOPROXY 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 TryBot-Result: Gobot Gobot Reviewed-by: Brad Fitzpatrick --- diff --git a/src/cmd/go/go_test.go b/src/cmd/go/go_test.go index 19fbf6d718..f25d6f4503 100644 --- a/src/cmd/go/go_test.go +++ b/src/cmd/go/go_test.go @@ -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")