Explorar el Código

Fixing broken test

KevBurnsJr hace 14 años
padre
commit
25070141a9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      test/MustacheTest.php

+ 1 - 1
test/MustacheTest.php

@@ -408,7 +408,7 @@ class MustacheTest extends PHPUnit_Framework_TestCase {
 	public function testStickyDelimiters() {
 		$m = new Mustache(null, array('result' => 'FAIL'));
 		$this->assertEquals('{{ result }}', $m->render('{{=[[ ]]=}}{{ result }}[[={{ }}=]]'));
-		$this->assertEquals('{{ result }}', $m->render('{{=[[ ]]=}}{{#result}}FAIL{{/result}}{{result}}[[={{ }}=]]'));
+		$this->assertEquals('{{#result}}{{/result}}', $m->render('{{=[[ ]]=}}{{#result}}{{/result}}[[={{ }}=]]'));
 	}
 
 	/**