From bf7a32d22079cc44eb19794e41d82b886d5d17b3 Mon Sep 17 00:00:00 2001 From: mame Date: Fri, 15 Jun 2018 08:53:16 +0000 Subject: 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 --- test/ruby/test_jit.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/ruby/test_jit.rb') 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 -- cgit v1.2.3