mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/open-uri/test_open-uri.rb (test_find_proxy_case_sensitive_env):
environment variable name is not case sensitive on Windows git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
97596f36bc
commit
dd32962cba
1 changed files with 1 additions and 0 deletions
|
@ -518,6 +518,7 @@ class TestOpenURI < Test::Unit::TestCase
|
|||
end
|
||||
|
||||
def test_find_proxy_case_sensitive_env
|
||||
skip "environment variable name is not case sensitive on Windows" if RUBY_PLATFORM =~ /mswin|mingw/
|
||||
with_env('http_proxy'=>'http://127.0.0.1:8080', 'REQUEST_METHOD'=>'GET') {
|
||||
assert_equal(URI('http://127.0.0.1:8080'), URI("http://192.0.2.1/").find_proxy)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue