Fix macro for class double name

This commit is contained in:
Michael Miller 2022-07-07 19:00:22 -06:00
parent ccc8997cca
commit 55b2ac9f05
No known key found for this signature in database
GPG key ID: 32B47AE8F388A1FF

View file

@ -142,7 +142,7 @@ module Spectator
private def self._spectator_stubbed_name : String
{% if anno = @type.annotation(StubbedName) %}
"#<Class Double " + \{{(anno[0] || :Anonymous.id).stringify}} + "\">"
"#<Class Double " + {{(anno[0] || :Anonymous.id).stringify}} + ">"
{% else %}
"#<Class Double Anonymous>"
{% end %}