summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-22 07:38:33 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-09-22 07:38:33 +0000
commitc29b274b2ab85d00377c84e37467c9ba94b9497d (patch)
tree06ac1833e94cf8796f440f389f62dd9d6a39fa39
parent2e2522ecdfc577f8c44850cf8ba616f456730cf7 (diff)
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
-rw-r--r--test/ruby/test_thread.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_thread.rb b/test/ruby/test_thread.rb
index e2a181a..ffaad96 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