Skip to content

Commit

Permalink
Add failing test case
Browse files Browse the repository at this point in the history
Space char being added at end of comment
  • Loading branch information
twbartel committed Jun 8, 2020
1 parent c2b4a66 commit 3d99995
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/Failing/__snapshots__/jsfmt.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,11 @@ exports[`failing.melody.twig 1`] = `
'
}}
</textarea>
{# Before the closing -->, whitespace keeps being added #}
<!--
This is a comment
-->
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{# IF tag in element not allowed
<option {% if not purchasable.isAvailable %}disabled{% endif %}>
Expand Down Expand Up @@ -207,4 +212,9 @@ exports[`failing.melody.twig 1`] = `
' }}
</textarea>
{# Before the closing -->, whitespace keeps being added #}
<!--
This is a comment
-->
`;
5 changes: 5 additions & 0 deletions tests/Failing/failing.melody.twig
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,8 @@
'
}}
</textarea>

{# Before the closing -->, whitespace keeps being added #}
<!--
This is a comment
-->

0 comments on commit 3d99995

Please sign in to comment.