summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 754f2d62a19..5c1031b231f 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)
}