From c8185b327ea68ce125937c977b2b158a90f27561 Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 25 Dec 2013 11:11:42 +0000 Subject: test_method.rb, test_proc.rb: suppress warnings * test/ruby/test_method.rb: suppress warnings in verbose mode. * test/ruby/test_proc.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_proc.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby/test_proc.rb') diff --git a/test/ruby/test_proc.rb b/test/ruby/test_proc.rb index b40485f582..2acce84da3 100644 --- a/test/ruby/test_proc.rb +++ b/test/ruby/test_proc.rb @@ -1209,7 +1209,7 @@ class TestProc < Test::Unit::TestCase end def get_binding if: 1, case: 2, when: 3, begin: 4, end: 5 - a = 0 + a ||= 0 binding end -- cgit v1.2.3