summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/test/unit.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/test/unit.rb b/lib/test/unit.rb
index d1f7383cb9..9e3a23ea43 100644
--- a/lib/test/unit.rb
+++ b/lib/test/unit.rb
@@ -233,13 +233,13 @@ module Test
io = IO.popen([*ruby,
"#{File.dirname(__FILE__)}/unit/parallel.rb",
*args], "rb+")
- new(io: io, pid: io.pid, status: :waiting)
+ new(io, io.pid, :waiting)
end
- def initialize(h={})
- @io = h[:io]
- @pid = h[:pid]
- @status = h[:status]
+ def initialize(io, pid, status)
+ @io = io
+ @pid = pid
+ @status = status
@file = nil
@real_file = nil
@loadpath = []