Example names can't be a symbol

This commit is contained in:
Michael Miller 2020-09-26 18:14:59 -06:00
parent 96a7989815
commit f4a05502f9
No known key found for this signature in database
GPG key ID: FB9F12F7C646A4AD

View file

@ -20,7 +20,7 @@ module Spectator
# The *source* tracks where the example exists in source code.
# The example will be assigned to *group* if it is provided.
def initialize(@delegate : ExampleContextDelegate,
name : String | Symbol? = nil, source : Source? = nil, group : ExampleGroup? = nil)
name : String? = nil, source : Source? = nil, group : ExampleGroup? = nil)
super(name, source, group)
end