Update SectionSpaces class name to work with template autoloading, changing .txt to desired (not actual) output so the test will fail.

This commit is contained in:
Justin Hileman
2010-07-22 20:36:29 -04:00
parent c51d1e61b7
commit ad6e15e5b5
3 changed files with 7 additions and 6 deletions
@@ -1,6 +1,6 @@
<?php <?php
class Sections_Spaces extends Mustache { class SectionsSpaces extends Mustache {
public $start = "It worked the first time."; public $start = "It worked the first time.";
public function middle() { public function middle() {
@@ -2,8 +2,8 @@
{{# middle }} {{# middle }}
* {{ item }} * {{ item }}
{{/ middle }} {{/ middle }}
* {{ final }} * {{ final }}
* {{ start }} * {{ start }}
{{# middle }} * {{ item }}{{/ middle }} {{# middle }} * {{ item }}{{/ middle }}
* {{ final }} * {{ final }}
+4 -3
View File
@@ -1,8 +1,9 @@
* It worked the first time. * It worked the first time.
* And it worked the second time. * And it worked the second time.
* As well as the third. * As well as the third.
* Then, surprisingly, it worked the final time. * Then, surprisingly, it worked the final time.
* It worked the first time. * It worked the first time.
* And it worked the second time. * As well as the third. * And it worked the second time.
* Then, surprisingly, it worked the final time. * As well as the third.
* Then, surprisingly, it worked the final time.