integration tests for interpolated strings
authorArnaud Le Blanc <arnaud.lb@gmail.com>
Sat, 12 Nov 2011 15:55:29 +0000 (16:55 +0100)
committerArnaud Le Blanc <arnaud.lb@gmail.com>
Sat, 12 Nov 2011 15:55:29 +0000 (16:55 +0100)
test/Twig/Tests/Fixtures/expressions/strings.test [new file with mode: 0644]

diff --git a/test/Twig/Tests/Fixtures/expressions/strings.test b/test/Twig/Tests/Fixtures/expressions/strings.test
new file mode 100644 (file)
index 0000000..a2bff10
--- /dev/null
@@ -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