--TEST-- macro --TEMPLATE-- {% from _self import test %} {% macro test(a, b = 'bar') -%} {{ a }}{{ b }} {%- endmacro %} {{ test('foo') }} {{ test('bar', 'foo') }} --DATA-- return [] --EXPECT-- foobar barfoo
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
default_values.test | File | 209 B | 0644 |
|
nested_calls.test | File | 224 B | 0644 |
|
reserved_variables.test | File | 180 B | 0644 |
|
simple.test | File | 353 B | 0644 |
|
unknown_macro.test | File | 222 B | 0644 |
|
varargs.test | File | 374 B | 0644 |
|
varargs_argument.test | File | 280 B | 0644 |
|
with_filters.test | File | 215 B | 0644 |
|