summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-26 08:26:02 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-26 08:26:02 +0000
commita77351eac07c409b2ebf9bae9d64fb86e8b7f923 (patch)
treeb04ee604b56daed9e7ad447bc9c28ec9cec20fe5
parent1ea31179febbdf3f4dd8519b9efa101643f617cf (diff)
merge from trunk (r28021)
* 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/branches/ruby_1_9_2@28022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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 754f2d62a1..5c1031b231 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)
}