mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-01 01:18:12 +00:00
moved test under tests/
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
--TEST--
|
||||
Exception for multiline array with undefined variable
|
||||
--TEMPLATE--
|
||||
{% set foo = {
|
||||
foo: 'foo',
|
||||
bar: 'bar',
|
||||
|
||||
|
||||
foobar: foobar,
|
||||
|
||||
|
||||
|
||||
foo2: foo2,
|
||||
} %}
|
||||
--DATA--
|
||||
return []
|
||||
--EXCEPTION--
|
||||
Twig\Error\RuntimeError: Variable "foobar" does not exist in "index.twig" at line 7.
|
||||
Reference in New Issue
Block a user