diff --git a/test/ruby/test_jit.rb b/test/ruby/test_jit.rb index bfdfd64efd..d7d4ee159c 100644 --- a/test/ruby/test_jit.rb +++ b/test/ruby/test_jit.rb @@ -778,20 +778,17 @@ class TestJIT < Test::Unit::TestCase end def test_inlined_builtin_methods - verbose_bak, $VERBOSE = $VERBOSE, nil assert_eval_with_jit("#{<<~"begin;"}\n#{<<~"end;"}", stdout: '', success_count: 1, min_calls: 2) begin; def test float = 0.0 float.abs - -float + float.-@ float.zero? end test test end; - ensure - $VERBOSE = verbose_bak end def test_inlined_c_method