summaryrefslogtreecommitdiff
path: root/tests/test_filters.py
diff options
context:
space:
mode:
authorArmin Ronacher <armin.ronacher@active-4.com>2009-09-14 14:58:01 -0700
committerArmin Ronacher <armin.ronacher@active-4.com>2009-09-14 14:58:01 -0700
commit9e6400e513c8795116e780f58709ffa65b2dc975 (patch)
treee7ae36aabd57d051aca8e7a886bdf88bf755ba65 /tests/test_filters.py
parente7c72bc235c96dd63abf23a0698f45f79873edf3 (diff)
downloadjinja2-9e6400e513c8795116e780f58709ffa65b2dc975.tar.gz
fixes some smaller problems for Jinja2 on Jython.2.2.1
--HG-- branch : trunk
Diffstat (limited to 'tests/test_filters.py')
-rw-r--r--tests/test_filters.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_filters.py b/tests/test_filters.py
index 19902ff..5741693 100644
--- a/tests/test_filters.py
+++ b/tests/test_filters.py
@@ -89,10 +89,10 @@ def test_default():
def test_dictsort():
tmpl = env.from_string(DICTSORT)
- out = tmpl.render(foo={"a": 0, "b": 1, "c": 2, "A": 3})
- assert out == ("[('a', 0), ('A', 3), ('b', 1), ('c', 2)]|"
- "[('A', 3), ('a', 0), ('b', 1), ('c', 2)]|"
- "[('a', 0), ('b', 1), ('c', 2), ('A', 3)]")
+ out = tmpl.render(foo={"aa": 0, "b": 1, "c": 2, "AB": 3})
+ assert out == ("[('aa', 0), ('AB', 3), ('b', 1), ('c', 2)]|"
+ "[('AB', 3), ('aa', 0), ('b', 1), ('c', 2)]|"
+ "[('aa', 0), ('b', 1), ('c', 2), ('AB', 3)]")
def test_batch():