diff --git a/ChangeLog b/ChangeLog index c69b5ac843f71f..5deb9a27b87e54 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Feb 16 20:05:26 2013 Ayumu AIZAWA + + * 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 * vm.c (rb_thread_mark): mark a working Proc of bmethod diff --git a/test/ruby/test_thread.rb b/test/ruby/test_thread.rb index 52e6d67560208d..63921bb2da5a2b 100644 --- a/test/ruby/test_thread.rb +++ b/test/ruby/test_thread.rb @@ -669,8 +669,8 @@ def test_handle_interrupted? 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