Fixing broken test
This commit is contained in:
@@ -408,7 +408,7 @@ class MustacheTest extends PHPUnit_Framework_TestCase {
|
|||||||
public function testStickyDelimiters() {
|
public function testStickyDelimiters() {
|
||||||
$m = new Mustache(null, array('result' => 'FAIL'));
|
$m = new Mustache(null, array('result' => 'FAIL'));
|
||||||
$this->assertEquals('{{ result }}', $m->render('{{=[[ ]]=}}{{ result }}[[={{ }}=]]'));
|
$this->assertEquals('{{ result }}', $m->render('{{=[[ ]]=}}{{ result }}[[={{ }}=]]'));
|
||||||
$this->assertEquals('{{ result }}', $m->render('{{=[[ ]]=}}{{#result}}FAIL{{/result}}{{result}}[[={{ }}=]]'));
|
$this->assertEquals('{{#result}}{{/result}}', $m->render('{{=[[ ]]=}}{{#result}}{{/result}}[[={{ }}=]]'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user