ruby-changes:16173
From: nobu <ko1@a...>
Date: Thu, 3 Jun 2010 06:37:52 +0900 (JST)
Subject: [ruby-changes:16173] Ruby:r28136 (trunk): * test/ruby/test_path.rb (test_path): workaround for drive
nobu 2010-06-03 06:30:23 +0900 (Thu, 03 Jun 2010) New Revision: 28136 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=28136 Log: * test/ruby/test_path.rb (test_path): workaround for drive letter. Modified files: trunk/ChangeLog trunk/test/ruby/test_path.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 28135) +++ ChangeLog (revision 28136) @@ -1,5 +1,8 @@ -Thu Jun 3 06:25:14 2010 Nobuyoshi Nakada <nobu@r...> +Thu Jun 3 06:30:20 2010 Nobuyoshi Nakada <nobu@r...> + * 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. Index: test/ruby/test_path.rb =================================================================== --- test/ruby/test_path.rb (revision 28135) +++ test/ruby/test_path.rb (revision 28136) @@ -43,7 +43,7 @@ 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/