Yaffs site version 1.1
[yaffs-website] / vendor / twig / twig / test / Twig / Tests / Fixtures / tags / with / nested.test
diff --git a/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/with/nested.test b/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/with/nested.test
new file mode 100644 (file)
index 0000000..98e3aef
--- /dev/null
@@ -0,0 +1,15 @@
+--TEST--
+nested "with" tags
+--TEMPLATE--
+{% set foo, bar = 'foo', 'bar' %}
+{% with {bar: 'BAZ'} %}
+    {% with {foo: 'FOO'} %}
+        {{ foo }}{{ bar }}
+    {% endwith %}
+{% endwith %}
+{{ foo }}{{ bar }}
+--DATA--
+return array()
+--EXPECT--
+FOOBAZ
+    foobar