Remove parameter from stop method

This commit is contained in:
Michael Miller 2021-05-18 19:03:40 -06:00
parent c0befe63e9
commit 1addc46f7e
No known key found for this signature in database
GPG key ID: FB9F12F7C646A4AD
4 changed files with 5 additions and 5 deletions

View file

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

View file

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

View file

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

View file

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