projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Security update for Core, with self-updated composer
[yaffs-website]
/
vendor
/
twig
/
twig
/
test
/
Twig
/
Tests
/
Fixtures
/
tags
/
include
/
with_variables.test
1
--TEST--
2
"include" tag accept variables
3
--TEMPLATE--
4
{% include "foo.twig" with {'foo': 'bar'} %}
5
{% include "foo.twig" with vars %}
6
--TEMPLATE(foo.twig)--
7
{{ foo }}
8
--DATA--
9
return array('vars' => array('foo' => 'bar'))
10
--EXPECT--
11
bar
12
bar