ruby-changes:27225
From: ayumin <ko1@a...>
Date: Sat, 16 Feb 2013 20:14:35 +0900 (JST)
Subject: [ruby-changes:27225] ayumin:r39277 (trunk): * test/ruby/test_thread.rb: fixed typo
ayumin 2013-02-16 20:14:23 +0900 (Sat, 16 Feb 2013) New Revision: 39277 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=39277 Log: * test/ruby/test_thread.rb: fixed typo Modified files: trunk/ChangeLog trunk/test/ruby/test_thread.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 39276) +++ ChangeLog (revision 39277) @@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sat Feb 16 20:05:26 2013 Ayumu AIZAWA <ayumu.aizawa@g...> + + * test/ruby/test_thread.rb: fixed typo + patched by Hiroki Matsue via https://github.com/ruby/ruby/pull/248 + Sat Feb 16 16:08:35 2013 Koichi Sasada <ko1@a...> * vm.c (rb_thread_mark): mark a working Proc of bmethod Index: test/ruby/test_thread.rb =================================================================== --- test/ruby/test_thread.rb (revision 39276) +++ test/ruby/test_thread.rb (revision 39277) @@ -669,8 +669,8 @@ class TestThread < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_thread.rb#L669 q.push :ng1 end begin - Thread.handle_interrupthandle_interrupt(Object => :immediate){} if Thread.pending_interrupt? - rescue => e + Thread.handle_interrupt(Object => :immediate){} if Thread.pending_interrupt? + rescue RuntimeError => e q.push :ok end rescue => e -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/