[前][次][番号順一覧][スレッド一覧]

ruby-changes:35541

From: usa <ko1@a...>
Date: Thu, 18 Sep 2014 15:03:43 +0900 (JST)
Subject: [ruby-changes:35541] usa:r47623 (trunk): * test/rubygems/test_gem_specification.rb: '/' is not always the root.

usa	2014-09-18 15:03:24 +0900 (Thu, 18 Sep 2014)

  New Revision: 47623

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=47623

  Log:
    * test/rubygems/test_gem_specification.rb: '/' is not always the root.

  Modified files:
    trunk/ChangeLog
    trunk/test/rubygems/test_gem_specification.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 47622)
+++ ChangeLog	(revision 47623)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Sep 18 15:02:15 2014  NAKAMURA Usaku  <usa@r...>
+
+	* test/rubygems/test_gem_specification.rb: '/' is not always the root.
+
 Thu Sep 18 09:36:37 2014  Scott Francis  <scott.francis@s...>
 
 	* vm_method.c (Init_Method): make global method cache size
Index: test/rubygems/test_gem_specification.rb
===================================================================
--- test/rubygems/test_gem_specification.rb	(revision 47622)
+++ test/rubygems/test_gem_specification.rb	(revision 47623)
@@ -1820,7 +1820,7 @@ dependencies: [] https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_specification.rb#L1820
 
       @ext.require_paths = 'lib'
 
-      assert_equal ['/foo/ext-1', 'lib'], @ext.require_paths
+      assert_equal [File.expand_path('/foo/ext-1'), 'lib'], @ext.require_paths
     end
   ensure
     class << Gem

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]