summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--test/rubygems/test_gem.rb6
2 files changed, 8 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 94bd19b2a7..1a773dcad2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Tue Jun 7 18:36:41 2011 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * 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@ruby-lang.org>
* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_set_program_name):
diff --git a/test/rubygems/test_gem.rb b/test/rubygems/test_gem.rb
index 96077117e2..88d8270ad3 100644
--- a/test/rubygems/test_gem.rb
+++ b/test/rubygems/test_gem.rb
@@ -988,9 +988,9 @@ class TestGem < Gem::TestCase
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 @@ class TestGem < Gem::TestCase
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