diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-03-16 08:38:22 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-03-16 08:38:22 +0000 |
commit | d19e5328d895ab4cc533127064bb385a54e0a889 (patch) | |
tree | 81fefc9c00cc74973ecf899044e66f7b70a7f392 /test/ruby/test_exception.rb | |
parent | 36ada1b318dcc0539c81bba3ef9db301f0eeb9fd (diff) | |
download | ruby-d19e5328d895ab4cc533127064bb385a54e0a889.tar.gz |
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
Diffstat (limited to 'test/ruby/test_exception.rb')
-rw-r--r-- | test/ruby/test_exception.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |