aboutsummaryrefslogtreecommitdiff
path: root/src/net/http/proxy_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/http/proxy_test.go')
-rw-r--r--src/net/http/proxy_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/http/proxy_test.go b/src/net/http/proxy_test.go
index 823d1447ee..8d3a78b962 100644
--- a/src/net/http/proxy_test.go
+++ b/src/net/http/proxy_test.go
@@ -75,7 +75,7 @@ func TestCacheKeys(t *testing.T) {
func ResetProxyEnv() {
for _, v := range []string{"HTTP_PROXY", "http_proxy", "NO_PROXY", "no_proxy"} {
- os.Setenv(v, "")
+ os.Unsetenv(v)
}
ResetCachedEnvironment()
}