mirror of
https://github.com/twigphp/Twig.git
synced 2026-08-30 20:16:45 +00:00
Add a test
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
--TEST--
|
||||
Twig does not support using . for concatenation
|
||||
--TEMPLATE--
|
||||
{{ 'a'.'b' }}
|
||||
--DATA--
|
||||
return []
|
||||
--EXCEPTION--
|
||||
Twig\Error\SyntaxError: Expected name or number, got value "b" of type string in "index.twig" at line 2.
|
||||
Reference in New Issue
Block a user