Use Array instead of Enumerable

This commit is contained in:
Michael Miller 2021-05-16 13:22:25 -06:00
parent 0ed684afbc
commit ee294a3ec2
No known key found for this signature in database
GPG key ID: FB9F12F7C646A4AD

View file

@ -16,7 +16,7 @@ module Spectator
# The collection of *examples* should be pre-filtered and shuffled.
# This runner will run each example in the order provided.
# The *formatter* will be called for various events.
def initialize(@examples : Enumerable(Example),
def initialize(@examples : Array(Example),
@formatter : Formatting::Formatter, @run_flags = RunFlags::None)
end