projects
/
jinja2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e40df0
)
Just to be on the sure side with that compiler optimization magic
author
Armin Ronacher
<armin.ronacher@active-4.com>
Wed, 13 Jan 2010 23:59:31 +0000
(
00:59
+0100)
committer
Armin Ronacher
<armin.ronacher@active-4.com>
Wed, 13 Jan 2010 23:59:31 +0000
(
00:59
+0100)
--HG--
branch : trunk
tests/test_imports.py
patch
|
blob
|
history
diff --git
a/tests/test_imports.py
b/tests/test_imports.py
index c217eabd544350247bc6534199b17066b4621c5f..1758a59aaf76f82b2608b692d9a90f55df56fd74 100644
(file)
--- a/
tests/test_imports.py
+++ b/
tests/test_imports.py
@@
-71,6
+71,12
@@
def test_choice_includes():
test_includes(t, x=['missing', 'header'])
t = test_env.from_string('{% include [x, "header"] %}')
test_includes(t, x='missing')
+ t = test_env.from_string('{% include x %}')
+ test_includes(t, x='header')
+ t = test_env.from_string('{% include x %}')
+ test_includes(t, x='header')
+ t = test_env.from_string('{% include [x] %}')
+ test_includes(t, x='header')
def test_include_ignoring_missing():