mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Change formatters to take nillable profile
This commit is contained in:
parent
6dd4c4bc2f
commit
aabc25ad4f
8 changed files with 25 additions and 19 deletions
|
@ -28,7 +28,7 @@ class SpyFormatter < Spectator::Formatting::Formatter
|
|||
|
||||
# Stores all invocatiosn made to `#end_suite`.
|
||||
# Each element is an invocation and the value is the arguments passed to the method.
|
||||
getter end_suite_calls = [] of NamedTuple(report: Spectator::Report, profile: Bool)
|
||||
getter end_suite_calls = [] of NamedTuple(report: Spectator::Report, profile: Spectator::Profile?)
|
||||
|
||||
# Number of times the `#end_suite` method was called.
|
||||
def end_suite_call_count
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue