[前][次][番号順一覧][スレッド一覧]

ruby-changes:16072

From: usa <ko1@a...>
Date: Wed, 26 May 2010 17:25:22 +0900 (JST)
Subject: [ruby-changes:16072] Ruby:r28021 (trunk): * test/open-uri/test_open-uri.rb (test_find_proxy_case_sensitive_env):

usa	2010-05-26 17:25:15 +0900 (Wed, 26 May 2010)

  New Revision: 28021

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=28021

  Log:
    * test/open-uri/test_open-uri.rb (test_find_proxy_case_sensitive_env):
      environment variable name is not case sensitive on Windows

  Modified files:
    trunk/test/open-uri/test_open-uri.rb

Index: test/open-uri/test_open-uri.rb
===================================================================
--- test/open-uri/test_open-uri.rb	(revision 28020)
+++ test/open-uri/test_open-uri.rb	(revision 28021)
@@ -518,6 +518,7 @@
   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)
     }

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]