Permalink
Browse files

integration tests for interpolated strings

  • Loading branch information...
1 parent 773fff5 commit 0e63abba76c6def0bb2b3aeb2ba6e7c2cace1bcf @arnaud-lb arnaud-lb committed Nov 12, 2011
Showing with 8 additions and 0 deletions.
  1. +8 −0 test/Twig/Tests/Fixtures/expressions/strings.test
View
8 test/Twig/Tests/Fixtures/expressions/strings.test
@@ -0,0 +1,8 @@
+--TEST--
+Twig supports string interpolation
+--TEMPLATE--
+{{ "foo #{"foo #{bar} baz"} baz" }}
+--DATA--
+return array('bar' => 'BAR');
+--EXPECT--
+foo foo BAR baz baz

0 comments on commit 0e63abb

Please sign in to comment.