1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* file.c (file_expand_path): Refix r28102: this breaks

r28039. test for [ruby-dev:41429] is added. [ruby-core:30516]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2010-05-31 08:47:08 +00:00
parent d16fc7ca69
commit 455554b64c
3 changed files with 10 additions and 2 deletions

View file

@ -42,6 +42,8 @@ class TestPath < Test::Unit::TestCase
end
assert_equal("//", File.expand_path(".", "//"))
assert_equal("//sub", File.expand_path("sub", "//"))
assert_equal("/tmp/\u3042", File.expand_path("\u3042", "/tmp"))
end
def test_dirname