summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-01-19 06:28:48 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-01-19 06:28:48 +0000
commit87daaf61b9a6db7d4e4c7df9c72c4621ef0162c2 (patch)
treeff69354086b92bacd2ab70f162ac988c0b731b4c /test
parentd6c22be4e7dd9a4931461043580fc29f8439d692 (diff)
* 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
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_file_exhaustive.rb2
1 files changed, 1 insertions, 1 deletions
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'))