]> git.immae.eu Git - github/wallabag/wallabag.git/blob - vendor/twig/twig/test/Twig/Tests/Fixtures/tags/use/multiple.test
twig implementation
[github/wallabag/wallabag.git] / vendor / twig / twig / test / Twig / Tests / Fixtures / tags / use / multiple.test
1 --TEST--
2 "use" tag
3 --TEMPLATE--
4 {% use "foo.twig" %}
5 {% use "bar.twig" %}
6
7 {{ block('content') }}
8 {{ block('foo') }}
9 {{ block('bar') }}
10 --TEMPLATE(foo.twig)--
11 {% block content 'foo' %}
12 {% block foo 'foo' %}
13 --TEMPLATE(bar.twig)--
14 {% block content 'bar' %}
15 {% block bar 'bar' %}
16 --DATA--
17 return array()
18 --EXPECT--
19 bar
20 foo
21 bar