Rename SummaryBlock to Stats

This commit is contained in:
Michael Miller 2021-05-16 16:56:19 -06:00
parent 3ecb04e293
commit 031e892dad
No known key found for this signature in database
GPG key ID: FB9F12F7C646A4AD
2 changed files with 3 additions and 3 deletions

View file

@ -3,8 +3,8 @@ require "./runtime"
require "./totals"
module Spectator::Formatting::Components
# Summary information displayed at the end of a run.
struct SummaryBlock
# Statistics information displayed at the end of a run.
struct Stats
def initialize(@report : Report)
end

View file

@ -43,7 +43,7 @@ module Spectator::Formatting
# Invoked after testing completes with summarized information from the test suite.
# Called after `#dump_failures` and before `#dump_profile`.
def dump_summary(notification)
io.puts Components::SummaryBlock.new(notification.report)
io.puts Components::Stats.new(notification.report)
end
# Invoked after testing completes with profiling information.