diff options
Diffstat (limited to 'vendor/twig/twig/test/Twig/Tests/Fixtures/functions/dynamic_function.test')
-rw-r--r-- | vendor/twig/twig/test/Twig/Tests/Fixtures/functions/dynamic_function.test | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/dynamic_function.test b/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/dynamic_function.test new file mode 100644 index 00000000..913fbc99 --- /dev/null +++ b/vendor/twig/twig/test/Twig/Tests/Fixtures/functions/dynamic_function.test | |||
@@ -0,0 +1,10 @@ | |||
1 | --TEST-- | ||
2 | dynamic function | ||
3 | --TEMPLATE-- | ||
4 | {{ foo_path('bar') }} | ||
5 | {{ a_foo_b_bar('bar') }} | ||
6 | --DATA-- | ||
7 | return array() | ||
8 | --EXPECT-- | ||
9 | foo/bar | ||
10 | a/b/bar | ||