]> git.immae.eu Git - github/wallabag/wallabag.git/blob - vendor/twig/twig/test/Twig/Tests/Fixtures/macros/nested_calls.test
gitignore vendor
[github/wallabag/wallabag.git] / vendor / twig / twig / test / Twig / Tests / Fixtures / macros / nested_calls.test
1 --TEST--
2 macro
3 --TEMPLATE--
4 {% import _self as macros %}
5
6 {% macro foo(data) %}
7 {{ data }}
8 {% endmacro %}
9
10 {% macro bar() %}
11 <br />
12 {% endmacro %}
13
14 {{ macros.foo(macros.bar()) }}
15 --DATA--
16 return array();
17 --EXPECT--
18 <br />