Security update to Drupal 8.4.6
[yaffs-website] / vendor / twig / twig / test / Twig / Tests / Fixtures / macros / default_values.test
1 --TEST--
2 macro
3 --TEMPLATE--
4 {% from _self import test %}
5
6 {% macro test(a, b = 'bar') -%}
7 {{ a }}{{ b }}
8 {%- endmacro %}
9
10 {{ test('foo') }}
11 {{ test('bar', 'foo') }}
12 --DATA--
13 return array();
14 --EXPECT--
15 foobar
16 barfoo