Fix call to example_finished

This commit is contained in:
Michael Miller 2021-05-29 22:47:53 -06:00
parent f02e1acb3b
commit 76c525de52
No known key found for this signature in database
GPG key ID: F9A0C5C65B162436

View file

@ -25,7 +25,7 @@ module Spectator
private def example_finished(example)
notification = Formatting::ExampleNotification.new(example)
visitor = ResultVisitor.new(formatter, notification)
formatter.example_started(notification)
formatter.example_finished(notification)
example.result.accept(visitor)
end