From c51d1e61b72dab929b5e556d5b815b2908cedfbb Mon Sep 17 00:00:00 2001 From: Jeremy Bush Date: Thu, 22 Jul 2010 18:42:56 -0500 Subject: [PATCH] adding tests for space failure --- examples/sections_spaces/Sections_Spaces.php | 14 ++++++++++++++ examples/sections_spaces/sections_spaces.mustache | 9 +++++++++ examples/sections_spaces/sections_spaces.txt | 8 ++++++++ 3 files changed, 31 insertions(+) create mode 100644 examples/sections_spaces/Sections_Spaces.php create mode 100644 examples/sections_spaces/sections_spaces.mustache create mode 100644 examples/sections_spaces/sections_spaces.txt diff --git a/examples/sections_spaces/Sections_Spaces.php b/examples/sections_spaces/Sections_Spaces.php new file mode 100644 index 0000000..79db095 --- /dev/null +++ b/examples/sections_spaces/Sections_Spaces.php @@ -0,0 +1,14 @@ + "And it worked the second time."), + array('item' => "As well as the third."), + ); + } + + public $final = "Then, surprisingly, it worked the final time."; +} \ No newline at end of file diff --git a/examples/sections_spaces/sections_spaces.mustache b/examples/sections_spaces/sections_spaces.mustache new file mode 100644 index 0000000..cea9f55 --- /dev/null +++ b/examples/sections_spaces/sections_spaces.mustache @@ -0,0 +1,9 @@ + * {{ start }} +{{# middle }} + * {{ item }} +{{/ middle }} +* {{ final }} + + * {{ start }} +{{# middle }} * {{ item }}{{/ middle }} +* {{ final }} \ No newline at end of file diff --git a/examples/sections_spaces/sections_spaces.txt b/examples/sections_spaces/sections_spaces.txt new file mode 100644 index 0000000..fd5d48b --- /dev/null +++ b/examples/sections_spaces/sections_spaces.txt @@ -0,0 +1,8 @@ + * It worked the first time. + * And it worked the second time. + * As well as the third. +* Then, surprisingly, it worked the final time. + + * It worked the first time. + * And it worked the second time. * As well as the third. +* Then, surprisingly, it worked the final time. \ No newline at end of file