From a1727e43af18c122c4d7adfa603f895fdc8f3df1 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Fri, 2 Aug 2019 22:46:15 +0900 Subject: Remove opt_nil_p test to remove warning for now --- test/ruby/test_jit.rb | 7 ------- 1 file changed, 7 deletions(-) (limited to 'test/ruby/test_jit.rb') diff --git a/test/ruby/test_jit.rb b/test/ruby/test_jit.rb index 188c013691..be2a32da21 100644 --- a/test/ruby/test_jit.rb +++ b/test/ruby/test_jit.rb @@ -365,13 +365,6 @@ class TestJIT < Test::Unit::TestCase end; end - def test_compile_insn_opt_nil_p - assert_compile_once("#{<<~"begin;"}\n#{<<~"end;"}", result_inspect: 'false', insns: %i[opt_nil_p]) - begin; - nil.nil?.nil? - end; - end - def test_compile_insn_opt_str_uminus assert_compile_once("#{<<~"begin;"}\n#{<<~"end;"}", result_inspect: '"bar"', insns: %i[opt_str_uminus]) begin; -- cgit v1.2.3