diff options
author | ayumin <ayumin@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-16 11:14:23 +0000 |
---|---|---|
committer | ayumin <ayumin@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-02-16 11:14:23 +0000 |
commit | 1061371f29baabd89c60d2d364947015b928d794 (patch) | |
tree | f96bfecd8bad711ee3bc26fecdfc41b9c055ce7b | |
parent | b4add2ac2be49677b05402bf236c7e547949e0a8 (diff) | |
download | ruby-1061371f29baabd89c60d2d364947015b928d794.tar.gz |
* test/ruby/test_thread.rb: fixed typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | test/ruby/test_thread.rb | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -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 diff --git a/test/ruby/test_thread.rb b/test/ruby/test_thread.rb index 52e6d67560..63921bb2da 100644 --- a/test/ruby/test_thread.rb +++ b/test/ruby/test_thread.rb @@ -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 |