summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_jit.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/ruby/test_jit.rb b/test/ruby/test_jit.rb
index 0274f59252..453290d2f0 100644
--- a/test/ruby/test_jit.rb
+++ b/test/ruby/test_jit.rb
@@ -591,11 +591,8 @@ class TestJIT < Test::Unit::TestCase
assert_compile_once('!!true', result_inspect: 'true', insns: %i[opt_not])
end
- def test_compile_insn_opt_regexpmatch1
- assert_compile_once("/true/ =~ 'true'", result_inspect: '0', insns: %i[opt_regexpmatch1])
- end
-
def test_compile_insn_opt_regexpmatch2
+ assert_compile_once("/true/ =~ 'true'", result_inspect: '0', insns: %i[opt_regexpmatch2])
assert_compile_once("'true' =~ /true/", result_inspect: '0', insns: %i[opt_regexpmatch2])
end