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
/
nested_else.test
1
--TEST--
2
"for" tag can use an "else" clause
3
--TEMPLATE--
4
{% for item in items %}
5
{% for item in items1 %}
6
* {{ item }}
7
{% else %}
8
no {{ item }}
9
{% endfor %}
10
{% else %}
11
no item1
12
{% endfor %}
13
--DATA--
14
return array('items' => array('a', 'b'), 'items1' => array())
15
--EXPECT--
16
no a
17
no b