diff options
Diffstat (limited to 'vendor/twig/twig/test/Twig/Tests/Fixtures/tags/for/condition.test')
-rw-r--r-- | vendor/twig/twig/test/Twig/Tests/Fixtures/tags/for/condition.test | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/for/condition.test b/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/for/condition.test deleted file mode 100644 index 380531f7..00000000 --- a/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/for/condition.test +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | --TEST-- | ||
2 | "for" tag takes a condition | ||
3 | --TEMPLATE-- | ||
4 | {% for i in 1..5 if i is odd -%} | ||
5 | {{ loop.index }}.{{ i }}{{ foo.bar }} | ||
6 | {% endfor %} | ||
7 | --DATA-- | ||
8 | return array('foo' => array('bar' => 'X')) | ||
9 | --CONFIG-- | ||
10 | return array('strict_variables' => false) | ||
11 | --EXPECT-- | ||
12 | 1.1X | ||
13 | 2.3X | ||
14 | 3.5X | ||