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
|
end
|
||||||
|
|
||||||
# :ditto:
|
# :ditto:
|
||||||
def start_dump(notification)
|
def start_dump
|
||||||
@formatters.each(&.start_dump(notification))
|
@formatters.each(&.start_dump)
|
||||||
end
|
end
|
||||||
|
|
||||||
# :ditto:
|
# :ditto:
|
||||||
|
@ -80,8 +80,8 @@ module Spectator::Formatting
|
||||||
end
|
end
|
||||||
|
|
||||||
# :ditto:
|
# :ditto:
|
||||||
def close(notification)
|
def close
|
||||||
@formatters.each(&.close(notification))
|
@formatters.each(&.close)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -90,7 +90,7 @@ module Spectator::Formatting
|
||||||
# Invoked after all examples finished.
|
# Invoked after all examples finished.
|
||||||
# Indicates that summarized report data is about to be produced.
|
# Indicates that summarized report data is about to be produced.
|
||||||
# This method is called after `#stop` and before `#dump_pending`.
|
# This method is called after `#stop` and before `#dump_pending`.
|
||||||
def start_dump(_notification)
|
def start_dump
|
||||||
end
|
end
|
||||||
|
|
||||||
# Invoked after testing completes with a list of pending examples.
|
# Invoked after testing completes with a list of pending examples.
|
||||||
|
@ -118,7 +118,7 @@ module Spectator::Formatting
|
||||||
|
|
||||||
# Invoked at the end of the program.
|
# Invoked at the end of the program.
|
||||||
# Allows the formatter to perform any cleanup and teardown.
|
# Allows the formatter to perform any cleanup and teardown.
|
||||||
def close(_notification)
|
def close
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -38,7 +38,7 @@ module Spectator
|
||||||
# Triggers the 'close' event.
|
# Triggers the 'close' event.
|
||||||
# See `Formatting::Formatter#close`
|
# See `Formatting::Formatter#close`
|
||||||
private def close
|
private def close
|
||||||
formatter.close(nil)
|
formatter.close
|
||||||
end
|
end
|
||||||
|
|
||||||
# Provides methods for the various result types.
|
# Provides methods for the various result types.
|
||||||
|
|
Loading…
Reference in a new issue