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

ruby-changes:19904

From: usa <ko1@a...>
Date: Tue, 7 Jun 2011 18:38:59 +0900 (JST)
Subject: [ruby-changes:19904] usa:r31951 (trunk): * test/rubygems/test_gem.rb (TestGem#{test_self_user_home_userprofile,

usa	2011-06-07 18:38:51 +0900 (Tue, 07 Jun 2011)

  New Revision: 31951

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

  Log:
    * test/rubygems/test_gem.rb (TestGem#{test_self_user_home_userprofile,
      test_self_user_home_user_drive_and_path}): should simply ignore
      meaningless tests instead of skipping them.

  Modified files:
    trunk/ChangeLog
    trunk/test/rubygems/test_gem.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 31950)
+++ ChangeLog	(revision 31951)
@@ -1,3 +1,9 @@
+Tue Jun  7 18:36:41 2011  NAKAMURA Usaku  <usa@r...>
+
+	* test/rubygems/test_gem.rb (TestGem#{test_self_user_home_userprofile,
+	  test_self_user_home_user_drive_and_path}): should simply ignore
+	  meaningless tests instead of skipping them.
+
 Tue Jun  7 18:15:00 2011  NAKAMURA Usaku  <usa@r...>
 
 	* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_set_program_name):
Index: test/rubygems/test_gem.rb
===================================================================
--- test/rubygems/test_gem.rb	(revision 31950)
+++ test/rubygems/test_gem.rb	(revision 31951)
@@ -988,9 +988,9 @@
     end
   end
 
-  if Gem.win_platform? then
+  if Gem.win_platform? && '1.9' > RUBY_VERSION
+    # Ruby 1.9 properly handles ~ path expansion, so no need to run such tests.
     def test_self_user_home_userprofile
-      skip 'Ruby 1.9 properly handles ~ path expansion' unless '1.9' > RUBY_VERSION
 
       Gem.clear_paths
 
@@ -1009,8 +1009,6 @@
     end
 
     def test_self_user_home_user_drive_and_path
-      skip 'Ruby 1.9 properly handles ~ path expansion' unless '1.9' > RUBY_VERSION
-
       Gem.clear_paths
 
       # safe-keep env variables

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

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