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:
+1
-1
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
class Sections_Spaces extends Mustache {
|
||||
class SectionsSpaces extends Mustache {
|
||||
public $start = "It worked the first time.";
|
||||
|
||||
public function middle() {
|
||||
@@ -2,8 +2,8 @@
|
||||
{{# middle }}
|
||||
* {{ item }}
|
||||
{{/ middle }}
|
||||
* {{ final }}
|
||||
* {{ final }}
|
||||
|
||||
* {{ start }}
|
||||
{{# middle }} * {{ item }}{{/ middle }}
|
||||
* {{ final }}
|
||||
* {{ final }}
|
||||
@@ -1,8 +1,9 @@
|
||||
* It worked the first time.
|
||||
* And it worked the second time.
|
||||
* As well as the third.
|
||||
* Then, surprisingly, it worked the final time.
|
||||
* 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.
|
||||
* And it worked the second time.
|
||||
* As well as the third.
|
||||
* Then, surprisingly, it worked the final time.
|
||||
Reference in New Issue
Block a user