diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-10 16:46:28 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-10 16:46:28 +0000 |
commit | fce17c541a36d5e7b91fe7afb26b63f7ea6e232a (patch) | |
tree | f0452e63b9671418067795d525bcd21e1619cfc3 /test | |
parent | 32e3478725e1fde80e8f97ad95550120ece251a0 (diff) |
merges r28105 from trunk into ruby_1_9_2.
--
* 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/branches/ruby_1_9_2@28268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-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 477bb7a287..ad080fa444 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 |