Yaffs site version 1.1
[yaffs-website] / vendor / twig / twig / test / Twig / Tests / Fixtures / tags / with / expression.test
diff --git a/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/with/expression.test b/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/with/expression.test
new file mode 100644 (file)
index 0000000..32ed091
--- /dev/null
@@ -0,0 +1,10 @@
+--TEST--
+"with" tag with expression
+--TEMPLATE--
+{% with {foo: 'foo', bar: 'BAZ'} %}
+    {{ foo }}{{ bar }}
+{% endwith %}
+--DATA--
+return array('foo' => 'baz')
+--EXPECT--
+fooBAZ