diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-22 07:38:33 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-22 07:38:33 +0000 |
commit | c29b274b2ab85d00377c84e37467c9ba94b9497d (patch) | |
tree | 06ac1833e94cf8796f440f389f62dd9d6a39fa39 /test | |
parent | 2e2522ecdfc577f8c44850cf8ba616f456730cf7 (diff) | |
download | ruby-c29b274b2ab85d00377c84e37467c9ba94b9497d.tar.gz |
test_thread.rb: thread for Queue
* test/ruby/test_thread.rb (test_main_thread_status_at_exit):
require 'thread' for Queue.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/ruby/test_thread.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_thread.rb b/test/ruby/test_thread.rb index e2a181a683..ffaad96413 100644 --- a/test/ruby/test_thread.rb +++ b/test/ruby/test_thread.rb @@ -818,6 +818,7 @@ _eom def test_main_thread_status_at_exit assert_in_out_err([], <<-'INPUT', ["false false aborting"], []) +require 'thread' q = Queue.new Thread.new(Thread.current) {|mth| begin |