lib/minitest/test_task.rb in minitest-5.20.0 vs lib/minitest/test_task.rb in minitest-5.21.0
- old
+ new
@@ -286,10 +286,9 @@
end
end
class Integer # :nodoc:
def threads_do(jobs) # :nodoc:
- require "thread"
q = Work.new jobs
self.times.map {
Thread.new do
while job = q.pop # go until quit value