From 4886535ab2671fb6e7edb438c95c2c9b03ffba29 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Mon, 18 Jan 2021 20:44:47 -0800 Subject: [PATCH] Avoid suppressing unrelated warnings --- test/ruby/test_jit.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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