From a58698994813eb003448f9eda3bf00fa92ee226e Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Thu, 14 Jan 2010 00:59:31 +0100 Subject: [PATCH] Just to be on the sure side with that compiler optimization magic --HG-- branch : trunk --- tests/test_imports.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/test_imports.py b/tests/test_imports.py index c217eab..1758a59 100644 --- 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(): -- 2.26.2