diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2021-12-04 14:38:30 +0100 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-09-29 03:41:49 +0900 |
commit | 5222a89ab6c71ead00afc7c75684212328457414 (patch) | |
tree | 4e9e227c4aeb019c543d0f4220863749d150023b /test/rubygems | |
parent | 31cf1bb5256314b69eae92673d3dd5815158ee91 (diff) | |
download | ruby-5222a89ab6c71ead00afc7c75684212328457414.tar.gz |
[rubygems/rubygems] Unskip stuff that now works on JRuby
https://github.com/rubygems/rubygems/commit/d86a5ae2eb
Diffstat (limited to 'test/rubygems')
-rw-r--r-- | test/rubygems/test_gem.rb | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/test/rubygems/test_gem.rb b/test/rubygems/test_gem.rb index 9070b9342e..cc9d0a22d5 100644 --- a/test/rubygems/test_gem.rb +++ b/test/rubygems/test_gem.rb @@ -807,7 +807,7 @@ class TestGem < Gem::TestCase assert_equal expected, Gem.find_files("sff/discover").sort assert_equal expected, Gem.find_files("sff/**.rb").sort, "[ruby-core:31730]" ensure - assert_equal cwd, actual_load_path.shift unless Gem.java_platform? + assert_equal cwd, actual_load_path.shift end def test_self_find_latest_files @@ -1335,12 +1335,10 @@ class TestGem < Gem::TestCase refute Gem.try_activate "nonexistent" end - unless Gem.java_platform? - expected = "Ignoring ext-1 because its extensions are not built. " + - "Try: gem pristine ext --version 1\n" + expected = "Ignoring ext-1 because its extensions are not built. " + + "Try: gem pristine ext --version 1\n" - assert_equal expected, err - end + assert_equal expected, err end def test_self_use_paths_with_nils @@ -1695,8 +1693,6 @@ class TestGem < Gem::TestCase end def test_looks_for_gemdeps_files_automatically_from_binstubs - pend "Requiring bundler messes things up" if Gem.java_platform? - a = util_spec "a", "1" do |s| s.executables = %w[foo] s.bindir = "exe" @@ -1744,7 +1740,7 @@ class TestGem < Gem::TestCase end def test_looks_for_gemdeps_files_automatically_from_binstubs_in_parent_dir - pend "Requiring bundler messes things up" if Gem.java_platform? + pend "IO.popen has issues on JRuby when passed :chdir" if Gem.java_platform? a = util_spec "a", "1" do |s| s.executables = %w[foo] |