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

* test/ruby/test_thread.rb: fixed typo

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ayumin 2013-02-16 11:14:23 +00:00
parent b4add2ac2b
commit 1061371f29
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
Sat Feb 16 20:05:26 2013 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
* 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@atdot.net>
* vm.c (rb_thread_mark): mark a working Proc of bmethod

View file

@ -669,8 +669,8 @@ class TestThread < Test::Unit::TestCase
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