diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-31 08:47:08 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-31 08:47:08 +0000 |
commit | 455554b64ca84a11c11b5513efb5ace56af652e7 (patch) | |
tree | 5daa7c6d8f4490053bc447927ca6fc9f36825c70 /test/ruby/test_path.rb | |
parent | d16fc7ca69d497159cd7456ae76642a651396dad (diff) |
* 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
Diffstat (limited to 'test/ruby/test_path.rb')
-rw-r--r-- | test/ruby/test_path.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_path.rb b/test/ruby/test_path.rb index f4b1baf91c..606575e4ba 100644 --- a/test/ruby/test_path.rb +++ b/test/ruby/test_path.rb @@ -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 |