summaryrefslogtreecommitdiff
path: root/lib/test/unit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/test/unit.rb')
-rw-r--r--lib/test/unit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/test/unit.rb b/lib/test/unit.rb
index 2d25f2f2c3f..518ce04e7e2 100644
--- a/lib/test/unit.rb
+++ b/lib/test/unit.rb
@@ -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)