diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2021-01-19 13:40:39 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2021-01-19 13:40:39 +0900 |
commit | f12320cd57982800d3a10a32bd357c9da239a53b (patch) | |
tree | 1f148e836f677a3c244de8c82a341613b388052f | |
parent | ff8c92359a126da43b11792184f2327f6a981efe (diff) | |
download | ruby-f12320cd57982800d3a10a32bd357c9da239a53b.tar.gz |
test/ruby/test_jit.rb: Avoid a warning
http://rubyci.s3.amazonaws.com/ubuntu2004/ruby-master/log/20210119T033003Z.log.html.gz
```
/home/chkbuild/chkbuild/tmp/build/20210119T033003Z/ruby/test/ruby/test_jit.rb:781:
warning: -e:5: warning: possibly useless use of -@ in void context
```
-rw-r--r-- | test/ruby/test_jit.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/ruby/test_jit.rb b/test/ruby/test_jit.rb index 3ecc78fcfe..bfdfd64efd 100644 --- a/test/ruby/test_jit.rb +++ b/test/ruby/test_jit.rb @@ -778,6 +778,7 @@ 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 @@ -789,6 +790,8 @@ class TestJIT < Test::Unit::TestCase test test end; + ensure + $VERBOSE = verbose_bak end def test_inlined_c_method |