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

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
This commit is contained in:
nobu 2014-09-22 07:38:33 +00:00
parent 2e2522ecdf
commit c29b274b2a

View file

@ -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