mirror of
https://github.com/twigphp/Twig.git
synced 2026-10-02 01:47:10 +00:00
moved test under tests/
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
--TEST--
|
||||
"include" function
|
||||
--TEMPLATE--
|
||||
{{ include(['bad.twig', 'good.twig'], ignore_missing = true) }}
|
||||
NOT DISPLAYED
|
||||
--TEMPLATE(bad.twig)--
|
||||
{% extends 'DOES NOT EXIST' %}
|
||||
--TEMPLATE(good.twig)--
|
||||
NOT DISPLAYED
|
||||
--DATA--
|
||||
return []
|
||||
--EXCEPTION--
|
||||
Twig\Error\LoaderError: Template "DOES NOT EXIST" is not defined in "bad.twig" at line 2.
|
||||
Reference in New Issue
Block a user