diff options
Diffstat (limited to 'src/net/http/proxy_test.go')
| -rw-r--r-- | src/net/http/proxy_test.go | 2 |
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() } |
