Security update for Core, with self-updated composer
[yaffs-website] / vendor / twig / twig / test / Twig / Tests / Fixtures / tags / macro / endmacro_name.test
1 --TEST--
2 "macro" tag supports name for endmacro
3 --TEMPLATE--
4 {% import _self as macros %}
5
6 {{ macros.foo() }}
7 {{ macros.bar() }}
8
9 {% macro foo() %}foo{% endmacro %}
10 {% macro bar() %}bar{% endmacro bar %}
11 --DATA--
12 return array()
13 --EXPECT--
14 foo
15 bar
16