From 7f07cf0d57ee7c7a0ebb1aa995ab41a3e47d726d Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Thu, 2 Dec 2010 08:31:22 +0100 Subject: [PATCH] renamed a test --- .../Tests/Fixtures/expressions/expressions.test | 21 -------------------- test/Twig/Tests/Fixtures/expressions/postfix.test | 21 ++++++++++++++++++++ 2 files changed, 21 insertions(+), 21 deletions(-) delete mode 100644 test/Twig/Tests/Fixtures/expressions/expressions.test create mode 100644 test/Twig/Tests/Fixtures/expressions/postfix.test diff --git a/test/Twig/Tests/Fixtures/expressions/expressions.test b/test/Twig/Tests/Fixtures/expressions/expressions.test deleted file mode 100644 index db047c0..0000000 --- a/test/Twig/Tests/Fixtures/expressions/expressions.test +++ /dev/null @@ -1,21 +0,0 @@ ---TEST-- -Twig parses postfix expressions ---TEMPLATE-- - -{% macro foo() %}foo{% endmacro %} - -{{ 'a' }} -{{ 'a'|upper }} -{{ ('a')|upper }} -{{ -1|upper }} -{{ _self.foo() }} -{{ (_self).foo() }} ---DATA-- -return array(); ---EXPECT-- -a -A -A --1 -foo -foo diff --git a/test/Twig/Tests/Fixtures/expressions/postfix.test b/test/Twig/Tests/Fixtures/expressions/postfix.test new file mode 100644 index 0000000..db047c0 --- /dev/null +++ b/test/Twig/Tests/Fixtures/expressions/postfix.test @@ -0,0 +1,21 @@ +--TEST-- +Twig parses postfix expressions +--TEMPLATE-- + +{% macro foo() %}foo{% endmacro %} + +{{ 'a' }} +{{ 'a'|upper }} +{{ ('a')|upper }} +{{ -1|upper }} +{{ _self.foo() }} +{{ (_self).foo() }} +--DATA-- +return array(); +--EXPECT-- +a +A +A +-1 +foo +foo -- 1.7.2.5