Change formatters to take nillable profile

This commit is contained in:
Michael Miller 2019-03-25 16:05:38 -06:00
parent 6dd4c4bc2f
commit aabc25ad4f
8 changed files with 25 additions and 19 deletions

View file

@ -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