ruby-changes:49075
From: eregon <ko1@a...>
Date: Wed, 13 Dec 2017 05:09:41 +0900 (JST)
Subject: [ruby-changes:49075] eregon:r61190 (trunk): Remove useless assertion in TestThread#test_handle_interrupt_blocking
eregon 2017-12-13 05:09:36 +0900 (Wed, 13 Dec 2017) New Revision: 61190 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61190 Log: Remove useless assertion in TestThread#test_handle_interrupt_blocking * It was originally th.join(0.2), but th.join never returns nil. Modified files: trunk/test/ruby/test_thread.rb Index: test/ruby/test_thread.rb =================================================================== --- test/ruby/test_thread.rb (revision 61189) +++ test/ruby/test_thread.rb (revision 61190) @@ -785,7 +785,7 @@ class TestThread < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_thread.rb#L785 } } assert_raise(e) {r = :wait; sleep 0.2} - assert_not_equal nil, th.join + th.join assert_equal(:ok,r) end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/