From c69545ae32a5ddf928e8992a0d2cf39648c2b555 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Mon, 2 Sep 2019 14:33:29 +0900 Subject: Fix opt_regexpmatch1 references --- test/ruby/test_jit.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'test/ruby/test_jit.rb') 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 -- cgit v1.2.3