moved test under tests/

This commit is contained in:
Fabien Potencier
2019-06-30 14:51:54 +02:00
parent c0936a6fbd
commit 1e3bb75010
443 changed files with 12 additions and 12 deletions
@@ -0,0 +1,16 @@
--TEST--
"include" function
--TEMPLATE--
{% extends "base.twig" %}
{% block content %}
{{ parent() }}
{% endblock %}
--TEMPLATE(base.twig)--
{% block content %}
{{ include("foo.twig") }}
{% endblock %}
--DATA--
return []
--EXCEPTION--
Twig\Error\LoaderError: Template "foo.twig" is not defined in "base.twig" at line 3.