From f6e95719ad026e6f02de917e27aa044758aa3a95 Mon Sep 17 00:00:00 2001 From: Michael Miller Date: Thu, 26 Sep 2019 14:08:17 -0600 Subject: [PATCH] Remove unnecessary quotes in example name --- src/spectator/dsl/examples.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spectator/dsl/examples.cr b/src/spectator/dsl/examples.cr index 738fb2d..0637b5f 100644 --- a/src/spectator/dsl/examples.cr +++ b/src/spectator/dsl/examples.cr @@ -20,7 +20,7 @@ module Spectator %source = ::Spectator::Source.new({{_source_file}}, {{_source_line}}) ::Spectator::SpecBuilder.add_example( - {{what.stringify}}, + {{what.is_a?(StringLiteral) ? what : what.stringify}}, %source, {{@type.name}} ) { |test| test.as({{@type.name}}).%run }