projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
7ff2eedb7406974be157b46428f6714bbb62877b
[yaffs-website]
/
vendor
/
twig
/
twig
/
test
/
Twig
/
Tests
/
Fixtures
/
exceptions
/
multiline_array_with_undefined_variable.test
1
--TEST--
2
Exception for multiline array with undefined variable
3
--TEMPLATE--
4
{% set foo = {
5
foo: 'foo',
6
bar: 'bar',
7
8
9
foobar: foobar,
10
11
12
13
foo2: foo2,
14
} %}
15
--DATA--
16
return array('foobar' => 'foobar')
17
--EXCEPTION--
18
Twig_Error_Runtime: Variable "foo2" does not exist in "index.twig" at line 11.