diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2019-09-02 14:33:29 +0900 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2019-09-02 14:33:37 +0900 |
commit | c69545ae32a5ddf928e8992a0d2cf39648c2b555 (patch) | |
tree | 6430769135454e9e56bcf75c0c535369fca7b597 /test | |
parent | 83498854eb5a824f1f83c31fac18c9279f9ee10d (diff) | |
download | ruby-c69545ae32a5ddf928e8992a0d2cf39648c2b555.tar.gz |
Fix opt_regexpmatch1 references
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_jit.rb | 5 |
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 |