diff options
Diffstat (limited to 'tests/test_ext.py')
-rw-r--r-- | tests/test_ext.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_ext.py b/tests/test_ext.py index 0a9b648..6ecf9a2 100644 --- a/tests/test_ext.py +++ b/tests/test_ext.py @@ -343,7 +343,7 @@ class TestInternationalization(object): # unlikely variable name, but when used as a variable # it should not enable trimming tmpl = i18n_env.from_string( - '{%- trans trimmed = "world" %} hello\n {{ trimmed }} ' "{% endtrans -%}" + "{%- trans trimmed = 'world' %} hello\n {{ trimmed }} {% endtrans -%}" ) assert tmpl.render() == " hello\n world " |