From f4a05502f99b9764d73076f5b8f34d39c2082c35 Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Sat, 26 Sep 2020 18:14:59 -0600 Subject: [PATCH] Example names can't be a symbol --- src/spectator/example.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spectator/example.cr b/src/spectator/example.cr index c392fab..b3c254e 100644 --- a/src/spectator/example.cr +++ b/src/spectator/example.cr @@ -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