Add missing call to super

This commit is contained in:
Michael Miller 2021-01-30 10:14:09 -07:00
parent a56b1e0eb1
commit 11cb16fb3a
No known key found for this signature in database
GPG key ID: FB9F12F7C646A4AD

View file

@ -41,6 +41,7 @@ module Spectator
# The example will be assigned to *group* if it is provided. # The example will be assigned to *group* if it is provided.
def initialize(name : String? = nil, source : Source? = nil, group : ExampleGroup? = nil, def initialize(name : String? = nil, source : Source? = nil, group : ExampleGroup? = nil,
metadata = NamedTuple.new, &block : self ->) metadata = NamedTuple.new, &block : self ->)
super(name, source, group)
@context = NullContext.new @context = NullContext.new
@entrypoint = block @entrypoint = block
@metadata = Wrapper.new(metadata) @metadata = Wrapper.new(metadata)