projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
98e3aef43d112bf4bda9bdd01fd1650c0243d3d7
[yaffs-website]
/
vendor
/
twig
/
twig
/
test
/
Twig
/
Tests
/
Fixtures
/
tags
/
with
/
nested.test
1
--TEST--
2
nested "with" tags
3
--TEMPLATE--
4
{% set foo, bar = 'foo', 'bar' %}
5
{% with {bar: 'BAZ'} %}
6
{% with {foo: 'FOO'} %}
7
{{ foo }}{{ bar }}
8
{% endwith %}
9
{% endwith %}
10
{{ foo }}{{ bar }}
11
--DATA--
12
return array()
13
--EXPECT--
14
FOOBAZ
15
foobar