Explorar o código

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

Justin Hileman %!s(int64=15) %!d(string=hai) anos
pai
achega
6350e6180b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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));
 	}