mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
lib/test/unit.rb: initialize instace variable
* lib/test/unit.rb (Test::Unit::Runner#output): suppress uninitialized instance variable warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5789992f33
commit
bd62d2a95e
1 changed files with 1 additions and 1 deletions
|
@ -656,7 +656,7 @@ module Test
|
|||
alias mini_run_suite _run_suite
|
||||
|
||||
def output
|
||||
@output || super
|
||||
(@output ||= nil) || super
|
||||
end
|
||||
|
||||
def _prepare_run(suites, type)
|
||||
|
|
Loading…
Add table
Reference in a new issue