Fix hook flags being nullable

This commit is contained in:
Michael Miller 2018-10-10 13:03:47 -06:00
parent 3e78f48d39
commit 53831ab36a

View file

@ -14,6 +14,8 @@ module Spectator
private getter hooks : ExampleHooks
def initialize(@what, @parent, @hooks)
@before_all_hooks_run = false
@after_all_hooks_run = false
end
def examples : Enumerable(Example)