mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Conditionally remove blank lines
This commit is contained in:
parent
caf19ffbd8
commit
acfe9d2808
1 changed files with 4 additions and 2 deletions
|
@ -11,8 +11,10 @@ module Spectator::Formatting
|
||||||
# At the end, the totals and runtime are printed.
|
# At the end, the totals and runtime are printed.
|
||||||
def end_suite(report)
|
def end_suite(report)
|
||||||
ran_anything = report.examples_ran > 0
|
ran_anything = report.examples_ran > 0
|
||||||
@io.puts
|
if ran_anything
|
||||||
@io.puts
|
@io.puts if is_a?(DotsFormatter)
|
||||||
|
@io.puts
|
||||||
|
end
|
||||||
failures(report.failures) if report.failed? && ran_anything
|
failures(report.failures) if report.failed? && ran_anything
|
||||||
stats(report)
|
stats(report)
|
||||||
remaining(report) if report.remaining?
|
remaining(report) if report.remaining?
|
||||||
|
|
Loading…
Reference in a new issue