diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-06-15 08:53:16 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-06-15 08:53:16 +0000 |
commit | bf7a32d22079cc44eb19794e41d82b886d5d17b3 (patch) | |
tree | 1d560bdb900b7f0ea89d6beb19c10845ed730876 /test/ruby/test_jit.rb | |
parent | bae638ad5b782c44c80efe33834cb9039279af46 (diff) |
Remove warnings of flip-flop deprecation from tests and specs
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_jit.rb')
-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 f212a3f21f..9bd50fe382 100644 --- a/test/ruby/test_jit.rb +++ b/test/ruby/test_jit.rb @@ -94,10 +94,13 @@ class TestJIT < Test::Unit::TestCase end def test_compile_insn_setspecial + verbose_bak, $VERBOSE = $VERBOSE, nil assert_compile_once("#{<<~"begin;"}\n#{<<~"end;"}", result_inspect: 'true', insns: %i[setspecial]) begin; true if nil.nil?..nil.nil? end; + ensure + $VERBOSE = verbose_bak end def test_compile_insn_instancevariable |