From 37d0e6e4711a2de9b4b460731fc3fd98799ce21c Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Sat, 17 Aug 2019 18:18:20 +0900 Subject: [PATCH] Skip teardown with JRuby --- test/rubygems/test_require.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/rubygems/test_require.rb b/test/rubygems/test_require.rb index a0c272ed66..38b54bdc44 100644 --- a/test/rubygems/test_require.rb +++ b/test/rubygems/test_require.rb @@ -230,7 +230,7 @@ class TestGemRequire < Gem::TestCase assert_equal %w(a-1 b-2), loaded_spec_names ensure - $LOAD_PATH.replace lp + $LOAD_PATH.replace lp unless java_platform? end def test_already_activated_direct_conflict