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 /test | |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_thread.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |