summaryrefslogtreecommitdiff
path: root/test/net/http
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-20 15:58:16 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-05-20 15:58:16 +0000
commita1b924f0f15d5def84074c3bbba4a0dcc918439d (patch)
tree3746d1cee9d28dd83ab4b26e0cf57c29cbf9d28a /test/net/http
parentca34d7075a9aa3c8355b8f062d13cdad0ae8e652 (diff)
Clean proxy
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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