From d19e5328d895ab4cc533127064bb385a54e0a889 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 16 Mar 2012 08:38:22 +0000 Subject: suppress warning. * test/ruby/envutil.rb: suppress warnings. * test/ruby/test_exception.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_exception.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/ruby/test_exception.rb') diff --git a/test/ruby/test_exception.rb b/test/ruby/test_exception.rb index d1a5514fad..11c1f6af67 100644 --- a/test/ruby/test_exception.rb +++ b/test/ruby/test_exception.rb @@ -245,7 +245,7 @@ class TestException < Test::Unit::TestCase end def test_thread_signal_location - stdout, stderr, status = EnvUtil.invoke_ruby("-d", <<-RUBY, false, true) + _, stderr, _ = EnvUtil.invoke_ruby("-d", <<-RUBY, false, true) Thread.start do begin Process.kill(:INT, $$) @@ -400,7 +400,7 @@ end.join o = Object.new def o.exception(arg) end - RuntimeError.new("a") == o + _ = RuntimeError.new("a") == o EOC end assert_nothing_raised(ArgumentError, bug5865) do -- cgit v1.2.3