mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Remove parameter from start_dump and close events
This commit is contained in:
parent
ba2922e655
commit
9a62c1386a
3 changed files with 7 additions and 7 deletions
|
@ -55,8 +55,8 @@ module Spectator::Formatting
|
|||
end
|
||||
|
||||
# :ditto:
|
||||
def start_dump(notification)
|
||||
@formatters.each(&.start_dump(notification))
|
||||
def start_dump
|
||||
@formatters.each(&.start_dump)
|
||||
end
|
||||
|
||||
# :ditto:
|
||||
|
@ -80,8 +80,8 @@ module Spectator::Formatting
|
|||
end
|
||||
|
||||
# :ditto:
|
||||
def close(notification)
|
||||
@formatters.each(&.close(notification))
|
||||
def close
|
||||
@formatters.each(&.close)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -90,7 +90,7 @@ module Spectator::Formatting
|
|||
# Invoked after all examples finished.
|
||||
# Indicates that summarized report data is about to be produced.
|
||||
# This method is called after `#stop` and before `#dump_pending`.
|
||||
def start_dump(_notification)
|
||||
def start_dump
|
||||
end
|
||||
|
||||
# Invoked after testing completes with a list of pending examples.
|
||||
|
@ -118,7 +118,7 @@ module Spectator::Formatting
|
|||
|
||||
# Invoked at the end of the program.
|
||||
# Allows the formatter to perform any cleanup and teardown.
|
||||
def close(_notification)
|
||||
def close
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -38,7 +38,7 @@ module Spectator
|
|||
# Triggers the 'close' event.
|
||||
# See `Formatting::Formatter#close`
|
||||
private def close
|
||||
formatter.close(nil)
|
||||
formatter.close
|
||||
end
|
||||
|
||||
# Provides methods for the various result types.
|
||||
|
|
Loading…
Reference in a new issue