Yaffs site version 1.1
[yaffs-website] / vendor / twig / twig / test / Twig / Tests / Fixtures / functions / static_calls.test
diff --git a/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/static_calls.test b/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/static_calls.test
new file mode 100644 (file)
index 0000000..57e5be3
--- /dev/null
@@ -0,0 +1,10 @@
+--TEST--
+Functions as static method calls
+--TEMPLATE--
+{{ static_call_string('foo') }}
+{{ static_call_array('foo') }}
+--DATA--
+return array('foo' => 'foo')
+--EXPECT--
+*foo*
+*foo*