Remove unnecessary quotes in example name

This commit is contained in:
Michael Miller 2019-09-26 14:08:17 -06:00
parent e5bd582f5f
commit f6e95719ad

View file

@ -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 }