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
# :ditto:
def stop(notification)
@formatters.each(&.stop(notification))
def stop
@formatters.each(&.stop)
end
# :ditto:

View file

@ -84,7 +84,7 @@ module Spectator::Formatting
# Invoked after all tests that will run have completed.
# When this method is called, it should be considered that the testing is done.
# Summary (dump) methods will be called after this.
def stop(_notification)
def stop
end
# Invoked after all examples finished.

View file

@ -41,7 +41,7 @@ module Spectator::Formatting
end
# Produces a new line after the tests complete.
def stop(_notification)
def stop
@io.puts
end
end

View file

@ -32,7 +32,7 @@ module Spectator
# Triggers the 'stop' event.
# See `Formatting::Formatter#stop`
private def stop
formatter.stop(nil)
formatter.stop
end
# Triggers the 'dump' events.