summaryrefslogtreecommitdiff
path: root/tests/template_tests/syntax_tests
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2018-08-21 15:28:51 +0200
committerClaude Paroz <claude@2xlibre.net>2018-08-21 17:46:45 +0200
commit201017df308266c7d5ed20181e6d0ffa5832e3e9 (patch)
treeb0ef49951614962cdd7409158ffd06b7f3b9bb55 /tests/template_tests/syntax_tests
parent939dcff24f8e97d114595b102fb12348da482135 (diff)
Fixed #29654 -- Made text truncation an ellipsis character instead of three dots.
Thanks Sudhanshu Mishra for the initial patch and Tim Graham for the review.
Diffstat (limited to 'tests/template_tests/syntax_tests')
-rw-r--r--tests/template_tests/syntax_tests/test_filter_syntax.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/template_tests/syntax_tests/test_filter_syntax.py b/tests/template_tests/syntax_tests/test_filter_syntax.py
index f6f2857df8..1d37163d60 100644
--- a/tests/template_tests/syntax_tests/test_filter_syntax.py
+++ b/tests/template_tests/syntax_tests/test_filter_syntax.py
@@ -168,7 +168,7 @@ class FilterSyntaxTests(SimpleTestCase):
Numbers as filter arguments should work
"""
output = self.engine.render_to_string('filter-syntax19', {"var": "hello world"})
- self.assertEqual(output, "hello ...")
+ self.assertEqual(output, "hello …")
@setup({'filter-syntax20': '{{ ""|default_if_none:"was none" }}'})
def test_filter_syntax20(self):