Procházet zdrojové kódy

Fixing broken test

KevBurnsJr před 14 roky
rodič
revize
25070141a9
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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}}[[={{ }}=]]'));
 	}
 
 	/**