projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Yaffs site version 1.1
[yaffs-website]
/
vendor
/
twig
/
twig
/
test
/
Twig
/
Tests
/
Fixtures
/
tags
/
for
/
loop_context_local.test
1
--TEST--
2
"for" tag adds a loop variable to the context locally
3
--TEMPLATE--
4
{% for item in items %}
5
{% endfor %}
6
{% if loop is not defined %}WORKS{% endif %}
7
--DATA--
8
return array('items' => array())
9
--EXPECT--
10
WORKS