mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/ruby/test_path.rb (test_path): workaround for drive
letter. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
54fe5bf6e7
commit
d57a8a44a8
2 changed files with 5 additions and 2 deletions
|
@ -1,4 +1,7 @@
|
||||||
Thu Jun 3 06:25:14 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Thu Jun 3 06:30:20 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* test/ruby/test_path.rb (test_path): workaround for drive
|
||||||
|
letter.
|
||||||
|
|
||||||
* test/ruby/test_path.rb (test_path): get rid of blocking on
|
* test/ruby/test_path.rb (test_path): get rid of blocking on
|
||||||
access to non-existent host.
|
access to non-existent host.
|
||||||
|
|
|
@ -43,7 +43,7 @@ class TestPath < Test::Unit::TestCase
|
||||||
assert_equal("//", File.expand_path(".", "//"))
|
assert_equal("//", File.expand_path(".", "//"))
|
||||||
assert_equal("//sub", File.expand_path("sub", "//"))
|
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
|
end
|
||||||
|
|
||||||
def test_dirname
|
def test_dirname
|
||||||
|
|
Loading…
Reference in a new issue