From 36516f67f2774dc4c72c4584f881b38a2ce9424e Mon Sep 17 00:00:00 2001 From: Mark Story Date: Tue, 22 Mar 2011 23:08:51 -0400 Subject: [PATCH] Adding a test case for mixing {%- and %} tags together. --- test/Twig/Tests/Fixtures/tags/trim_block.test | 14 ++++++++++++-- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/test/Twig/Tests/Fixtures/tags/trim_block.test b/test/Twig/Tests/Fixtures/tags/trim_block.test index 341a281..ccd5329 100644 --- a/test/Twig/Tests/Fixtures/tags/trim_block.test +++ b/test/Twig/Tests/Fixtures/tags/trim_block.test @@ -12,8 +12,14 @@ Whitespace trimming on tags.
  • {{ trailing }}
  • {%- endif -%} + + --DATA-- -return array('string' => 'a value', 'trailing' => 'trailing tabs') +return array('string' => 'a value', 'trailing' => 'trailing tabs', 'mixed' => 'mixed tags') --EXPECT-- + + -- 1.7.2.5