Security update to Drupal 8.4.6
[yaffs-website] / vendor / twig / twig / test / Twig / Tests / Fixtures / tags / with / basic.test
1 --TEST--
2 "with" tag
3 --TEMPLATE--
4 {% with %}
5     {% set bar = 'BAZ' %}
6     {{ foo }}{{ bar }}
7 {% endwith %}
8 {{ foo }}{{ bar }}
9 --DATA--
10 return array('foo' => 'foo', 'bar' => 'bar')
11 --EXPECT--
12 fooBAZ
13 foobar