1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/test/unit.rb (Test::Unit::Runner::Worker#initialize): use

positional arguments instead of keyword arguments.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2011-04-14 13:48:14 +00:00
parent 3d41f4df43
commit 80020d092e
2 changed files with 9 additions and 6 deletions

View file

@ -1,4 +1,7 @@
Thu Apr 14 22:48:03 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
Thu Apr 14 22:48:08 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>
* lib/test/unit.rb (Test::Unit::Runner::Worker#initialize): use
positional arguments instead of keyword arguments.
* lib/test/unit.rb (Test::Unit::Runner#jobs_status): io/console may
not be available. use 80 as the last resort if IO#winsize and

View file

@ -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 = []