mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-02 18:07:35 +00:00
moved test under tests/
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
--TEST--
|
||||
Exception for multile function with undefined variable
|
||||
--TEMPLATE--
|
||||
{{ include('foo',
|
||||
with_context=with_context
|
||||
) }}
|
||||
--TEMPLATE(foo)--
|
||||
Foo
|
||||
--DATA--
|
||||
return []
|
||||
--EXCEPTION--
|
||||
Twig\Error\RuntimeError: Variable "with_context" does not exist in "index.twig" at line 3.
|
||||
Reference in New Issue
Block a user