fixed stripped whitespace on test..

This commit is contained in:
Christopher Pickering 2021-08-30 14:47:32 +02:00
parent a03ea83dd8
commit 41a3346c14
No known key found for this signature in database
GPG key ID: E14DB3B0A0FACF84

View file

@ -341,7 +341,7 @@ console.log();
def test_html_comments_tag(runner, tmp_file):
write_to_file(
tmp_file.name,
b"""<div>\n <!-- asdf-->\n\n <!-- \n multi\nline\ncomment--></div>""",
b"""<div>\n <!-- asdf-->\n\n <!--\n multi\nline\ncomment--></div>""",
)
runner.invoke(djlint, [tmp_file.name, "--reformat"])
assert (