diff options
Diffstat (limited to 'vendor/twig/twig/test/Twig/Tests/Fixtures/tags/sandbox/simple.test')
-rw-r--r-- | vendor/twig/twig/test/Twig/Tests/Fixtures/tags/sandbox/simple.test | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/sandbox/simple.test b/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/sandbox/simple.test new file mode 100644 index 00000000..de20f3db --- /dev/null +++ b/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/sandbox/simple.test | |||
@@ -0,0 +1,22 @@ | |||
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 | ||