Procházet zdrojové kódy

Inverting expected/actual param order in MustacheTest so the unit test output makes sense.

Justin Hileman před 15 roky
rodič
revize
6350e6180b
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

@@ -46,7 +46,7 @@ class MustacheTest extends PHPUnit_Framework_TestCase {
 	 */
 	public function testExamples($class, $template, $output) {
 		$m = new $class;
-		$this->assertEquals($m->render($template), $output);
+		$this->assertEquals($output, $m->render($template));
 	}