ruby-changes:46705
From: naruse <ko1@a...>
Date: Sun, 21 May 2017 00:58:22 +0900 (JST)
Subject: [ruby-changes:46705] naruse:r58820 (trunk): Clean proxy
naruse 2017-05-21 00:58:16 +0900 (Sun, 21 May 2017) New Revision: 58820 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58820 Log: Clean proxy Modified files: trunk/test/net/http/test_http.rb Index: test/net/http/test_http.rb =================================================================== --- test/net/http/test_http.rb (revision 58819) +++ test/net/http/test_http.rb (revision 58820) @@ -225,7 +225,7 @@ class TestNetHTTP < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/net/http/test_http.rb#L225 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/