mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-15 20:06:31 +00:00
added missing tests
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
--TEST--
|
||||
Super globals as macro arguments
|
||||
--TEMPLATE--
|
||||
{% import _self as macros %}
|
||||
|
||||
{{ macros.foo('foo') }}
|
||||
|
||||
{% macro foo(GET) %}
|
||||
{{ GET }}
|
||||
{% endmacro %}
|
||||
--DATA--
|
||||
return array()
|
||||
--EXPECT--
|
||||
foo
|
||||
Reference in New Issue
Block a user