ruby-changes:22291
From: nobu <ko1@a...>
Date: Thu, 19 Jan 2012 15:29:42 +0900 (JST)
Subject: [ruby-changes:22291] nobu:r34340 (trunk): * test/ruby/test_file_exhaustive.rb (test_expand_path): fix commit miss, removed surplus downcase.
nobu 2012-01-19 15:28:48 +0900 (Thu, 19 Jan 2012) New Revision: 34340 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=34340 Log: * test/ruby/test_file_exhaustive.rb (test_expand_path): fix commit miss, removed surplus downcase. Modified files: trunk/test/ruby/test_file_exhaustive.rb Index: test/ruby/test_file_exhaustive.rb =================================================================== --- test/ruby/test_file_exhaustive.rb (revision 34339) +++ test/ruby/test_file_exhaustive.rb (revision 34340) @@ -402,7 +402,7 @@ end if drive = Dir.pwd[%r'\A(?:[a-z]:|//[^/]+/[^/]+)'i] assert_match(%r"\Az:/foo\z"i, File.expand_path('/foo', "z:/bar")) - assert_match(%r"\A//host/share/foo\z"i, File.expand_path('/foo', "//host/share/bar").downcase) + assert_match(%r"\A//host/share/foo\z"i, File.expand_path('/foo', "//host/share/bar")) assert_match(%r"\A#{drive}/foo\z"i, File.expand_path('/foo')) else assert_equal("/foo", File.expand_path('/foo')) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/