mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-03 18:04:26 +02:00
Fixed a unit test that accidentally passed on phpunit < 7 because of sloppy string comparison.
This commit is contained in:
@@ -297,7 +297,7 @@ class CompileFunctionTest extends PHPUnit_Smarty
|
|||||||
*/
|
*/
|
||||||
public function testExternalDefinedFunctionRecursion($text)
|
public function testExternalDefinedFunctionRecursion($text)
|
||||||
{
|
{
|
||||||
$this->assertEquals('12345', $this->smarty->fetch('test_template_function_recursion2.tpl'), $text);
|
$this->assertEquals('012345', $this->smarty->fetch('test_template_function_recursion2.tpl'), $text);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user