summaryrefslogtreecommitdiff
path: root/test/net/http
diff options
context:
space:
mode:
Diffstat (limited to 'test/net/http')
-rw-r--r--test/net/http/test_http.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/net/http/test_http.rb b/test/net/http/test_http.rb
index 13d1803aa9..e0c503c288 100644
--- a/test/net/http/test_http.rb
+++ b/test/net/http/test_http.rb
@@ -225,7 +225,7 @@ class TestNetHTTP < Test::Unit::TestCase
def host.to_str; raise SocketError, "open failure"; end
uri = Struct.new(:scheme, :hostname, :port).new("http", host, port)
assert_raise_with_message(SocketError, /#{host}:#{port}/) do
- Net::HTTP.get(uri)
+ clean_http_proxy_env{ Net::HTTP.get(uri) }
end
end