aboutsummaryrefslogtreecommitdiffhomepage
path: root/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/include/expression.test
blob: eaeeb112e95fbb02bb8c42cad4b8a7db46b20ca3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--TEST--
"include" tag allows expressions for the template to include
--TEMPLATE--
FOO
{% include foo %}

BAR
--TEMPLATE(foo.twig)--
FOOBAR
--DATA--
return array('foo' => 'foo.twig')
--EXPECT--
FOO

FOOBAR
BAR