aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem.rb
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-07 09:38:51 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-07 09:38:51 +0000
commit04b81ae7992b8eb06fc89b6874be11c046dfad76 (patch)
treebe08948e2347fe33158d61a8e397197d9043278e /test/rubygems/test_gem.rb
parent01fd0228114ccc08a3e7c937b920695a6d2b21ca (diff)
downloadruby-04b81ae7992b8eb06fc89b6874be11c046dfad76.tar.gz
* 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems/test_gem.rb')
-rw-r--r--test/rubygems/test_gem.rb6
1 files changed, 2 insertions, 4 deletions
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