Security update to Drupal 8.4.6
[yaffs-website] / vendor / twig / twig / test / Twig / Tests / Fixtures / tags / sandbox / simple.test
1 --TEST--
2 sandbox tag
3 --TEMPLATE--
4 {%- sandbox %}
5     {%- include "foo.twig" %}
6 {%- endsandbox %}
7
8 {%- sandbox %}
9     {%- include "foo.twig" %}
10     {%- include "foo.twig" %}
11 {%- endsandbox %}
12
13 {%- sandbox %}{% include "foo.twig" %}{% endsandbox %}
14 --TEMPLATE(foo.twig)--
15 foo
16 --DATA--
17 return array()
18 --EXPECT--
19 foo
20 foo
21 foo
22 foo