Explorar o código

Fixing broken test

KevBurnsJr %!s(int64=14) %!d(string=hai) anos
pai
achega
25070141a9
Modificáronse 1 ficheiros con 1 adicións e 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}}[[={{ }}=]]'));
 	}
 
 	/**