summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/units/TestUtils.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/units/TestUtils.py b/test/units/TestUtils.py
index 6b73c5e10b..6f282a8e72 100644
--- a/test/units/TestUtils.py
+++ b/test/units/TestUtils.py
@@ -706,6 +706,12 @@ class TestUtils(unittest.TestCase):
['a', '{% if x %}', 'y', '{%else %}', '{{meow}}', '{% endif %}', 'cookiechip\ndone']
)
+ # test space preservation within quotes
+ _test_combo(
+ 'content="1 2 3 4 " foo=bar',
+ ['content="1 2 3 4 "', 'foo=bar']
+ )
+
# invalid jinja2 nesting detection
# invalid quote nesting detection