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:
parent
2e2522ecdf
commit
c29b274b2a
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue