diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-02 21:25:18 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-02 21:25:18 +0000 |
commit | 90850320997cb0834b6960048b34da62f1668d67 (patch) | |
tree | 36415ffee3375481578aed0d37d124e1b0ee588d /test/ruby | |
parent | 67190ad100556e489e61349538cd7b51d78de414 (diff) |
* test/ruby/test_path.rb (test_path): get rid of blocking on
access to non-existent host.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_path.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_path.rb b/test/ruby/test_path.rb index f4b1baf91c..477bb7a287 100644 --- a/test/ruby/test_path.rb +++ b/test/ruby/test_path.rb @@ -35,8 +35,8 @@ class TestPath < Test::Unit::TestCase assert_equal("/sub", File.expand_path("sub", "/")) end if dosish - assert_equal("//machine/share", File.expand_path("/", "//machine/share/sub")) - assert_equal("//machine/share/dir", File.expand_path("/dir", "//machine/share/sub")) + assert_equal("//127.0.0.1/share", File.expand_path("/", "//127.0.0.1/share/sub")) + assert_equal("//127.0.0.1/share/dir", File.expand_path("/dir", "//127.0.0.1/share/sub")) assert_equal("z:/", File.expand_path("/", "z:/sub")) assert_equal("z:/dir", File.expand_path("/dir", "z:/sub")) end |