Security update to Drupal 8.4.6
[yaffs-website] / vendor / twig / twig / test / Twig / Tests / Fixtures / regression / block_names_unicity.test
1 --TEST--
2 Block names are unique per template
3 --TEMPLATE--
4 {% extends 'layout' %}
5 {% block content -%}
6     {% filter title -%}
7         second
8     {% endfilter %}
9 {% endblock %}
10 --TEMPLATE(layout)--
11 {% filter title -%}
12     first
13 {% endfilter %}
14 {% block content %}{% endblock %}
15 --DATA--
16 return array();
17 --EXPECT--
18 First
19 Second