projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Yaffs site version 1.1
[yaffs-website]
/
vendor
/
twig
/
twig
/
test
/
Twig
/
Tests
/
Fixtures
/
tags
/
macro
/
global.test
1
--TEST--
2
"macro" tag
3
--TEMPLATE--
4
{% from 'forms.twig' import foo %}
5
6
{{ foo('foo') }}
7
{{ foo() }}
8
--TEMPLATE(forms.twig)--
9
{% macro foo(name) %}{{ name|default('foo') }}{{ global }}{% endmacro %}
10
--DATA--
11
return array()
12
--EXPECT--
13
fooglobal
14
fooglobal