1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
usa 2011-06-07 09:38:51 +00:00
parent 01fd022811
commit 04b81ae799
2 changed files with 8 additions and 4 deletions

View file

@ -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):

View file

@ -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