Formatting

This commit is contained in:
Michael Miller 2020-09-26 19:23:16 -06:00
parent 60795a371d
commit 99a9d7960a
No known key found for this signature in database
GPG key ID: FB9F12F7C646A4AD

View file

@ -23,8 +23,8 @@ module Spectator::DSL
# This is intended to be used to convert a description from the spec DSL to `ExampleNode#name`.
private macro _spectator_example_name(what)
{% if what.is_a?(StringLiteral) ||
what.is_a?(StringInterpolation) ||
what.is_a?(NilLiteral) %}
what.is_a?(StringInterpolation) ||
what.is_a?(NilLiteral) %}
{{what}}
{% else %}
{{what.stringify}}