summaryrefslogtreecommitdiff
path: root/test/ruby/test_rubyoptions.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-03-11 20:53:58 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2023-03-11 20:56:29 -0800
commit4445b9e2a2dda207a2b3698c042342dd794b1b35 (patch)
tree4469bf02582b0b8a29072f289a37f0baba44f417 /test/ruby/test_rubyoptions.rb
parent195e32977f181c8af9233a12cfc2c98e0f7957f6 (diff)
Remove unused methods from JITSupport
Diffstat (limited to 'test/ruby/test_rubyoptions.rb')
-rw-r--r--test/ruby/test_rubyoptions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb
index 923d96b1f4..c45ecf5a4c 100644
--- a/test/ruby/test_rubyoptions.rb
+++ b/test/ruby/test_rubyoptions.rb
@@ -172,7 +172,7 @@ class TestRubyOptions < Test::Unit::TestCase
end
def test_enable
- if JITSupport.supported?
+ if JITSupport.yjit_supported? || JITSupport.rjit_supported?
assert_in_out_err(%w(--enable all -e) + [""], "", [], [])
assert_in_out_err(%w(--enable-all -e) + [""], "", [], [])
assert_in_out_err(%w(--enable=all -e) + [""], "", [], [])