From 3d999951a21ef85846397cd0062aa6d4261911c2 Mon Sep 17 00:00:00 2001 From: tbartel Date: Mon, 8 Jun 2020 12:09:50 +0200 Subject: [PATCH] Add failing test case Space char being added at end of comment --- tests/Failing/__snapshots__/jsfmt.spec.js.snap | 10 ++++++++++ tests/Failing/failing.melody.twig | 5 +++++ 2 files changed, 15 insertions(+) diff --git a/tests/Failing/__snapshots__/jsfmt.spec.js.snap b/tests/Failing/__snapshots__/jsfmt.spec.js.snap index a5adbe6b..71703930 100644 --- a/tests/Failing/__snapshots__/jsfmt.spec.js.snap +++ b/tests/Failing/__snapshots__/jsfmt.spec.js.snap @@ -143,6 +143,11 @@ exports[`failing.melody.twig 1`] = ` ' }} + +{# Before the closing -->, whitespace keeps being added #} + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {# IF tag in element not allowed