mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Fix macro for class double name
This commit is contained in:
parent
ccc8997cca
commit
55b2ac9f05
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ module Spectator
|
||||||
|
|
||||||
private def self._spectator_stubbed_name : String
|
private def self._spectator_stubbed_name : String
|
||||||
{% if anno = @type.annotation(StubbedName) %}
|
{% if anno = @type.annotation(StubbedName) %}
|
||||||
"#<Class Double " + \{{(anno[0] || :Anonymous.id).stringify}} + "\">"
|
"#<Class Double " + {{(anno[0] || :Anonymous.id).stringify}} + ">"
|
||||||
{% else %}
|
{% else %}
|
||||||
"#<Class Double Anonymous>"
|
"#<Class Double Anonymous>"
|
||||||
{% end %}
|
{% end %}
|
||||||
|
|
Loading…
Reference in a new issue