From d57a8a44a878ec5fb8714975a38ae99914da0f16 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 2 Jun 2010 21:30:23 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 ++++- test/ruby/test_path.rb | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 353e64b2db..7ed0442448 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,7 @@ -Thu Jun 3 06:25:14 2010 Nobuyoshi Nakada +Thu Jun 3 06:30:20 2010 Nobuyoshi Nakada + + * test/ruby/test_path.rb (test_path): workaround for drive + letter. * test/ruby/test_path.rb (test_path): get rid of blocking on access to non-existent host. diff --git a/test/ruby/test_path.rb b/test/ruby/test_path.rb index ad080fa444..31c1885371 100644 --- a/test/ruby/test_path.rb +++ b/test/ruby/test_path.rb @@ -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