mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
disable closure for PHP 5.2
This commit is contained in:
@@ -189,6 +189,7 @@ class FilterTest extends PHPUnit_Smarty
|
|||||||
* test registered pre filter closure
|
* test registered pre filter closure
|
||||||
* @requires PHP 5.3
|
* @requires PHP 5.3
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
public function testRegisteredPreFilterClosure()
|
public function testRegisteredPreFilterClosure()
|
||||||
{
|
{
|
||||||
if (version_compare(PHP_VERSION,'5.3','<'))
|
if (version_compare(PHP_VERSION,'5.3','<'))
|
||||||
@@ -202,7 +203,7 @@ class FilterTest extends PHPUnit_Smarty
|
|||||||
$tpl->assign('foo', 'buh');
|
$tpl->assign('foo', 'buh');
|
||||||
$this->assertEquals("buh hello world", $this->smarty->fetch($tpl));
|
$this->assertEquals("buh hello world", $this->smarty->fetch($tpl));
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
/**
|
/**
|
||||||
* test registered pre filter class
|
* test registered pre filter class
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user