Coding standard cleanup.

This commit is contained in:
Justin Hileman
2012-03-01 05:26:32 -08:00
parent 0034bf657b
commit 5c4fcd0c9a
17 changed files with 59 additions and 48 deletions
@@ -40,10 +40,10 @@ class HigherOrderSectionsTest extends \PHPUnit_Framework_TestCase {
}
public function testRuntimeSectionCallback() {
$tpl = $this->mustache->loadTemplate('{{#double_wrap}}{{name}}{{/double_wrap}}');
$tpl = $this->mustache->loadTemplate('{{#doublewrap}}{{name}}{{/doublewrap}}');
$foo = new Foo;
$foo->double_wrap = array($foo, 'wrapWithBoth');
$foo->doublewrap = array($foo, 'wrapWithBoth');
$this->assertEquals(sprintf('<strong><em>%s</em></strong>', $foo->name), $tpl->render($foo));
}
@@ -80,10 +80,7 @@ class HigherOrderSectionsTest extends \PHPUnit_Framework_TestCase {
}
);
$this->assertEquals(
sprintf('[[%s]]', $data['name']),
$tpl->render($data)
);
$this->assertEquals(sprintf('[[%s]]', $data['name']), $tpl->render($data));
}
public function testMonsters() {