actually test whitespace stripping

This commit is contained in:
Marco Concetto Rudilosso
2023-02-01 15:52:34 +00:00
parent 74e505f6fa
commit ddc32b7bd8
+2 -2
View File
@@ -11,8 +11,8 @@ class RawTagTest < Minitest::Test
end
def test_output_in_raw
assert_template_result('{{ test }}', '{% raw %}{{ test }}{% endraw %}')
assert_template_result('{{ test }}', '{%- raw -%}{{ test }}{%- endraw -%}')
# assert_template_result('{{ test }}', '{% raw %}{{ test }}{% endraw %}')
assert_template_result('>{{ test }}<', '> {%- raw -%}{{ test }}{%- endraw -%} <')
end
def test_open_tag_in_raw