mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Remove parameter from stop method
This commit is contained in:
parent
c0befe63e9
commit
1addc46f7e
4 changed files with 5 additions and 5 deletions
|
@ -50,8 +50,8 @@ module Spectator::Formatting
|
||||||
end
|
end
|
||||||
|
|
||||||
# :ditto:
|
# :ditto:
|
||||||
def stop(notification)
|
def stop
|
||||||
@formatters.each(&.stop(notification))
|
@formatters.each(&.stop)
|
||||||
end
|
end
|
||||||
|
|
||||||
# :ditto:
|
# :ditto:
|
||||||
|
|
|
@ -84,7 +84,7 @@ module Spectator::Formatting
|
||||||
# Invoked after all tests that will run have completed.
|
# Invoked after all tests that will run have completed.
|
||||||
# When this method is called, it should be considered that the testing is done.
|
# When this method is called, it should be considered that the testing is done.
|
||||||
# Summary (dump) methods will be called after this.
|
# Summary (dump) methods will be called after this.
|
||||||
def stop(_notification)
|
def stop
|
||||||
end
|
end
|
||||||
|
|
||||||
# Invoked after all examples finished.
|
# Invoked after all examples finished.
|
||||||
|
|
|
@ -41,7 +41,7 @@ module Spectator::Formatting
|
||||||
end
|
end
|
||||||
|
|
||||||
# Produces a new line after the tests complete.
|
# Produces a new line after the tests complete.
|
||||||
def stop(_notification)
|
def stop
|
||||||
@io.puts
|
@io.puts
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -32,7 +32,7 @@ module Spectator
|
||||||
# Triggers the 'stop' event.
|
# Triggers the 'stop' event.
|
||||||
# See `Formatting::Formatter#stop`
|
# See `Formatting::Formatter#stop`
|
||||||
private def stop
|
private def stop
|
||||||
formatter.stop(nil)
|
formatter.stop
|
||||||
end
|
end
|
||||||
|
|
||||||
# Triggers the 'dump' events.
|
# Triggers the 'dump' events.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue