mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Rename SummaryBlock to Stats
This commit is contained in:
parent
3ecb04e293
commit
031e892dad
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue