Skip to content

Commit

Permalink
wip: fix test for else-variants
Browse files Browse the repository at this point in the history
- else is not a built-in (except for the keyword {{else}})
  • Loading branch information
nknapp committed Jan 6, 2020
1 parent 6af9613 commit fdf9aa5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/markup/handlebars/else-variants.expect.txt
Expand Up @@ -4,9 +4,9 @@
...
</span><span class="hljs-template-tag">{{#<span class="hljs-name">helper</span>}}</span><span class="xml">block</span><span class="hljs-keyword">{{else}}</span><span class="xml">else-block</span><span class="hljs-template-tag">{{/<span class="hljs-name">helper</span>}}</span><span class="xml">
...
</span><span class="hljs-template-variable">{{<span class="hljs-name">[<span class="hljs-built_in">else</span>]</span>}}</span><span class="xml"> in brackets is a helper, not a keyword
</span><span class="hljs-template-variable">{{<span class="hljs-name">[else]</span>}}</span><span class="xml"> in brackets is a helper, not a keyword
...
</span><span class="hljs-template-tag">{{#<span class="hljs-name"><span class="hljs-built_in">else</span></span>}}</span><span class="xml"> as block helper name is not a keyword </span><span class="hljs-template-tag">{{/<span class="hljs-name"><span class="hljs-built_in">else</span></span>}}</span><span class="xml">
</span><span class="hljs-template-tag">{{#<span class="hljs-name">else</span>}}</span><span class="xml"> as block helper name is not a keyword </span><span class="hljs-template-tag">{{/<span class="hljs-name">else</span>}}</span><span class="xml">
...
\{{else}} is not a keyword if escaped
...
Expand Down

0 comments on commit fdf9aa5

Please sign in to comment.