Up-cast to get around type error

This commit is contained in:
Michael Miller 2018-10-07 02:07:25 -06:00
parent 79886e9efb
commit a01ef9a4b7

View file

@ -12,7 +12,7 @@ module Spectator
@formatter.start_example(example)
example.run.tap do |result|
@formatter.end_example(result)
end
end.as(Result)
end
end
@formatter.end_suite(TestResults.new(results, elapsed))