Fix test for PHP 5.3

This commit is contained in:
bzick 2014-07-03 12:11:21 +04:00
parent a4883d75e5
commit 0340915b76

View File

@ -146,7 +146,7 @@ class FenomTest extends \Fenom\TestCase
$test->assertSame(array( $test->assertSame(array(
"name" => "foo" "name" => "foo"
), $args); ), $args);
$this->assertSame(' this block1 ', $content); $test->assertSame(' this block1 ', $content);
return "Block2:" . $args["name"] . ':' . trim($content) . ':Block'; return "Block2:" . $args["name"] . ':' . trim($content) . ':Block';
}); });
$this->tpl('custom.tpl', 'Custom function {myfunc name="foo"}'); $this->tpl('custom.tpl', 'Custom function {myfunc name="foo"}');