]> git.immae.eu Git - github/wallabag/wallabag.git/blob - vendor/twig/twig/test/Twig/Tests/Fixtures/functions/include/missing_nested.test
78fddc7a683a4c0883d9a105f4e7aa7d9d30ca70
[github/wallabag/wallabag.git] / vendor / twig / twig / test / Twig / Tests / Fixtures / functions / include / missing_nested.test
1 --TEST--
2 "include" function
3 --TEMPLATE--
4 {% extends "base.twig" %}
5
6 {% block content %}
7 {{ parent() }}
8 {% endblock %}
9 --TEMPLATE(base.twig)--
10 {% block content %}
11 {{ include("foo.twig") }}
12 {% endblock %}
13 --DATA--
14 return array();
15 --EXCEPTION--
16 Twig_Error_Loader: Template "foo.twig" is not defined in "base.twig" at line 3.