aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2021-01-18 20:44:47 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2021-01-18 20:44:48 -0800
commit4886535ab2671fb6e7edb438c95c2c9b03ffba29 (patch)
tree42db752ba91b4a5d1d0be32d86926c051d16f712
parentf12320cd57982800d3a10a32bd357c9da239a53b (diff)
downloadruby-4886535ab2671fb6e7edb438c95c2c9b03ffba29.tar.gz
Avoid suppressing unrelated warnings
-rw-r--r--test/ruby/test_jit.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/ruby/test_jit.rb b/test/ruby/test_jit.rb
index bfdfd64..d7d4ee1 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