mirror of
https://github.com/twigphp/Twig.git
synced 2026-08-31 12:37:15 +00:00
moved a test
This commit is contained in:
+3
-3
@@ -1,11 +1,11 @@
|
||||
--TEST--
|
||||
macro
|
||||
"macro" tag
|
||||
--TEMPLATE--
|
||||
{% extends "parent" %}
|
||||
{% import _self as me %}
|
||||
|
||||
{% block test %}
|
||||
{{ me.testMacro() }}
|
||||
{{ me.hello() }}
|
||||
{% endblock test %}
|
||||
--TEMPLATE(parent)--
|
||||
{% import _self as me %}
|
||||
@@ -14,7 +14,7 @@ macro
|
||||
Hello
|
||||
{% endblock test %}
|
||||
|
||||
{% macro testMacro() %}
|
||||
{% macro hello() %}
|
||||
Test
|
||||
{% endmacro %}
|
||||
--DATA--
|
||||
Reference in New Issue
Block a user