loop_context_local.test in Zircon Profile 8.0
Same filename and directory in other branches
File
vendor/twig/twig/test/Twig/Tests/Fixtures/tags/for/loop_context_local.testView source
--TEST--
"for" tag adds a loop variable to the context locally
--TEMPLATE--
{% for item in items %}
{% endfor %}
{% if loop is not defined %}WORKS{% endif %}
--DATA--
return array('items' => array())
--EXPECT--
WORKS