added some tests

This commit is contained in:
Fabien Potencier
2019-06-03 10:37:26 +02:00
parent 0a63973675
commit 1f0f92b30e
@@ -0,0 +1,23 @@
--TEST--
macro
--TEMPLATE--
{% extends "parent" %}
{% import _self as me %}
{% block test %}
{{ me.testMacro() }}
{% endblock test %}
--TEMPLATE(parent)--
{% import _self as me %}
{% block test %}
Hello
{% endblock test %}
{% macro testMacro() %}
Test
{% endmacro %}
--DATA--
return []
--EXPECT--
Test