aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems
diff options
context:
space:
mode:
authorDaniel Niknam <mhmd.niknam@gmail.com>2021-08-08 17:27:47 +1000
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-08-31 19:06:14 +0900
commit744e128ed98af65b6c8324a23720807659b2a8e9 (patch)
tree9e6c413858fe411bcf0630d7479f9c7edcd9d752 /test/rubygems
parentaafc615b4aff8b05efa14d30f0eb7c6adc5fde85 (diff)
downloadruby-744e128ed98af65b6c8324a23720807659b2a8e9.tar.gz
[rubygems/rubygems] Exclude truffleruby from the test for failure of operating_system.rb
truffleruby does not raise any error when requiring `rubygems`. https://github.com/rubygems/rubygems/commit/21e2fcd0b2
Diffstat (limited to 'test/rubygems')
-rw-r--r--test/rubygems/test_rubygems.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/rubygems/test_rubygems.rb b/test/rubygems/test_rubygems.rb
index fc2fb32f5a..9aa6c20cf5 100644
--- a/test/rubygems/test_rubygems.rb
+++ b/test/rubygems/test_rubygems.rb
@@ -7,6 +7,8 @@ class GemTest < Gem::TestCase
end
def test_operating_system_other_exceptions
+ pend "does not apply to truffleruby" if RUBY_ENGINE == 'truffleruby'
+
path = util_install_operating_system_rb <<-RUBY
intentional synt'ax error
RUBY