Security update to Drupal 8.4.6
[yaffs-website] / vendor / twig / twig / test / Twig / Tests / Fixtures / tags / with / with_no_hash.test
1 --TEST--
2 "with" tag with an expression that is not a hash
3 --TEMPLATE--
4 {% with vars %}
5     {{ foo }}{{ bar }}
6 {% endwith %}
7 --DATA--
8 return array('vars' => 'no-hash')
9 --EXCEPTION--
10 Twig_Error_Runtime: Variables passed to the "with" tag must be a hash in "index.twig" at line 2.