Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / twig / twig / test / Twig / Tests / Fixtures / tags / from.test
1 --TEST--
2 global variables
3 --TEMPLATE--
4 {% include "included.twig" %}
5 {% from "included.twig" import foobar %}
6 {{ foobar() }}
7 --TEMPLATE(included.twig)--
8 {% macro foobar() %}
9 called foobar
10 {% endmacro %}
11 --DATA--
12 return array();
13 --EXPECT--
14 called foobar