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
|
<?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 }}
|
||||||
@@ -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.
|
||||||
Reference in New Issue
Block a user