Skip to content

Commit

Permalink
Add a test
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Mar 25, 2022
1 parent d776736 commit beea1a7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/Fixtures/expressions/dot_as_concatenation.test
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit beea1a7

Please sign in to comment.