ruby-changes:39247
From: naruse <ko1@a...>
Date: Wed, 22 Jul 2015 08:24:08 +0900 (JST)
Subject: [ruby-changes:39247] naruse:r51328 (trunk): suppress warnings
naruse 2015-07-22 08:24:02 +0900 (Wed, 22 Jul 2015) New Revision: 51328 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=51328 Log: suppress warnings Modified files: trunk/test/ruby/test_process.rb Index: test/ruby/test_process.rb =================================================================== --- test/ruby/test_process.rb (revision 51327) +++ test/ruby/test_process.rb (revision 51328) @@ -572,7 +572,7 @@ class TestProcess < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_process.rb#L572 t2 = Thread.new { IO.popen([*CAT, :in=>"fifo"]) {|f| f.read } } - v1, v2 = assert_join_threads([t1, t2]) + _, v2 = assert_join_threads([t1, t2]) assert_equal("output to fifo\n", v2) } end unless windows? # does not support fifo @@ -2060,7 +2060,7 @@ EOS https://github.com/ruby/ruby/blob/trunk/test/ruby/test_process.rb#L2060 th.kill th.join(0.1) } - assert_equal(th, x) + assert_equal(th, x, bug11166) end if defined?(fork) def test_exec_fd_3_redirect -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/