summaryrefslogtreecommitdiff
path: root/test/ruby/test_jit.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-09-02 14:33:29 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-09-02 14:33:37 +0900
commitc69545ae32a5ddf928e8992a0d2cf39648c2b555 (patch)
tree6430769135454e9e56bcf75c0c535369fca7b597 /test/ruby/test_jit.rb
parent83498854eb5a824f1f83c31fac18c9279f9ee10d (diff)
Fix opt_regexpmatch1 references
Diffstat (limited to 'test/ruby/test_jit.rb')
-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