summaryrefslogtreecommitdiff
path: root/test/open-uri/test_open-uri.rb
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-26 08:25:15 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-26 08:25:15 +0000
commitdd32962cba378b8762b33e8111d104a958ff296f (patch)
tree1b16aa11c634544ad16791d95fa8495a0f4989e5 /test/open-uri/test_open-uri.rb
parent97596f36bc4ce34b8cc84bc8649ca26fe0f73d66 (diff)
* 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
Diffstat (limited to 'test/open-uri/test_open-uri.rb')
-rw-r--r--test/open-uri/test_open-uri.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/open-uri/test_open-uri.rb b/test/open-uri/test_open-uri.rb
index 754f2d6..5c1031b 100644
--- a/test/open-uri/test_open-uri.rb
+++ b/test/open-uri/test_open-uri.rb
@@ -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)
}