Skip to content

Commit

Permalink
Allow reporter to display summary before empty_run!
Browse files Browse the repository at this point in the history
  • Loading branch information
zzak committed Mar 13, 2024
1 parent d00cc0d commit f3f1fa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/minitest.rb
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,10 @@ def self.run args = []

# might have been removed/replaced during init_plugins:
summary = reporter.reporters.grep(SummaryReporter).first
return empty_run! options if summary && summary.count == 0

reporter.report

return empty_run! options if summary && summary.count == 0
reporter.passed?
end

Expand Down

0 comments on commit f3f1fa8

Please sign in to comment.