mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
merges r28136 from trunk into ruby_1_9_2.
-- * test/ruby/test_path.rb (test_path): workaround for drive letter. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2de959db7b
commit
3cc8da5f8c
2 changed files with 5 additions and 2 deletions
|
@ -43,7 +43,7 @@ class TestPath < Test::Unit::TestCase
|
|||
assert_equal("//", File.expand_path(".", "//"))
|
||||
assert_equal("//sub", File.expand_path("sub", "//"))
|
||||
|
||||
assert_equal("/tmp/\u3042", File.expand_path("\u3042", "/tmp"))
|
||||
assert_equal("//127.0.0.1/\u3042", File.expand_path("\u3042", "//127.0.0.1"))
|
||||
end
|
||||
|
||||
def test_dirname
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue