1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
nobu 2012-03-16 08:38:22 +00:00
parent 36ada1b318
commit d19e5328d8
2 changed files with 3 additions and 3 deletions

View file

@ -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