aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test/unit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/test/unit.rb')
-rw-r--r--lib/test/unit.rb22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/test/unit.rb b/lib/test/unit.rb
index 01bbaa507f..6076eb8592 100644
--- a/lib/test/unit.rb
+++ b/lib/test/unit.rb
@@ -458,18 +458,18 @@ module Test
return
end
- begin
- # Require needed things for parallel running
- require 'thread'
- require 'timeout'
- @tasks = @files.dup # Array of filenames.
- @need_quit = false
- @dead_workers = [] # Array of dead workers.
- @warnings = []
- @total_tests = @tasks.size.to_s(10)
- shutting_down = false
- rep = [] # FIXME: more good naming
+ # Require needed things for parallel running
+ require 'thread'
+ require 'timeout'
+ @tasks = @files.dup # Array of filenames.
+ @need_quit = false
+ @dead_workers = [] # Array of dead workers.
+ @warnings = []
+ @total_tests = @tasks.size.to_s(10)
+ shutting_down = false
+ rep = [] # FIXME: more good naming
+ begin
# Array of workers.
launch_worker = Proc.new {
begin