From: Arnaud Le Blanc Date: Sat, 12 Nov 2011 15:55:29 +0000 (+0100) Subject: integration tests for interpolated strings X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=0e63abba76c6def0bb2b3aeb2ba6e7c2cace1bcf;p=web%2Fkonrad%2Ftwig.git integration tests for interpolated strings --- diff --git a/test/Twig/Tests/Fixtures/expressions/strings.test b/test/Twig/Tests/Fixtures/expressions/strings.test new file mode 100644 index 0000000..a2bff10 --- /dev/null +++ b/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