summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/test/unit.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/test/unit.rb b/lib/test/unit.rb
index 518ce04..b118ec1 100644
--- a/lib/test/unit.rb
+++ b/lib/test/unit.rb
@@ -660,8 +660,8 @@ module Test
end
def _prepare_run(suites, type)
- if @tty
- @verbose ||= !options[:parallel]
+ if @tty and !@verbose
+ @verbose = !options[:parallel]
@output = StatusLineOutput.new(self)
end
if /\A\/(.*)\/\z/ =~ (filter = options[:filter])