From 87daaf61b9a6db7d4e4c7df9c72c4621ef0162c2 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 19 Jan 2012 06:28:48 +0000 Subject: * test/ruby/test_file_exhaustive.rb (test_expand_path): fix commit miss, removed surplus downcase. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_file_exhaustive.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby') diff --git a/test/ruby/test_file_exhaustive.rb b/test/ruby/test_file_exhaustive.rb index b0bb16243a..c10b05a86b 100644 --- a/test/ruby/test_file_exhaustive.rb +++ b/test/ruby/test_file_exhaustive.rb @@ -402,7 +402,7 @@ class TestFileExhaustive < Test::Unit::TestCase 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')) -- cgit v1.2.3