diff options
Diffstat (limited to 'vendor/twig/twig/test/Twig/Tests/Fixtures/tags/set/expression.test')
-rw-r--r-- | vendor/twig/twig/test/Twig/Tests/Fixtures/tags/set/expression.test | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/set/expression.test b/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/set/expression.test new file mode 100644 index 00000000..8ff434a0 --- /dev/null +++ b/vendor/twig/twig/test/Twig/Tests/Fixtures/tags/set/expression.test | |||
@@ -0,0 +1,12 @@ | |||
1 | --TEST-- | ||
2 | "set" tag | ||
3 | --TEMPLATE-- | ||
4 | {% set foo, bar = 'foo' ~ 'bar', 'bar' ~ 'foo' %} | ||
5 | |||
6 | {{ foo }} | ||
7 | {{ bar }} | ||
8 | --DATA-- | ||
9 | return array() | ||
10 | --EXPECT-- | ||
11 | foobar | ||
12 | barfoo | ||