mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
Update for Linux results
This commit is contained in:
@@ -62,10 +62,10 @@ class MuteExpectedErrorsTest extends PHPUnit_Smarty
|
|||||||
$this->smarty->clearCompiledTemplate('default.tpl');
|
$this->smarty->clearCompiledTemplate('default.tpl');
|
||||||
$this->smarty->fetch('default.tpl');
|
$this->smarty->fetch('default.tpl');
|
||||||
|
|
||||||
$this->assertEquals(Smarty::$_IS_WINDOWS ? 2 : 1, count($this->_errors));
|
$this->assertEquals(Smarty::$_IS_WINDOWS ? 2 : 2, count($this->_errors));
|
||||||
|
|
||||||
@filemtime('ckxladanwijicajscaslyxck');
|
@filemtime('ckxladanwijicajscaslyxck');
|
||||||
$this->assertEquals(Smarty::$_IS_WINDOWS ? 3 : 2, count($this->_errors));
|
$this->assertEquals(Smarty::$_IS_WINDOWS ? 3 : 3, count($this->_errors));
|
||||||
|
|
||||||
restore_error_handler();
|
restore_error_handler();
|
||||||
}
|
}
|
||||||
@@ -110,11 +110,11 @@ class MuteExpectedErrorsTest extends PHPUnit_Smarty
|
|||||||
$this->smarty->clearCompiledTemplate('default.tpl');
|
$this->smarty->clearCompiledTemplate('default.tpl');
|
||||||
$this->smarty->fetch('default.tpl');
|
$this->smarty->fetch('default.tpl');
|
||||||
|
|
||||||
$this->assertEquals(Smarty::$_IS_WINDOWS ? 2 : 0, count($this->_errors));
|
$this->assertEquals(Smarty::$_IS_WINDOWS ? 2 : 2, count($this->_errors));
|
||||||
|
|
||||||
@filemtime('ckxladanwijicajscaslyxck');
|
@filemtime('ckxladanwijicajscaslyxck');
|
||||||
$error = array(__FILE__ . ' line ' . (__LINE__ - 1));
|
$error = array(__FILE__ . ' line ' . (__LINE__ - 1));
|
||||||
$this->assertEquals(Smarty::$_IS_WINDOWS ? 3 : 1, count($this->_errors));
|
$this->assertEquals(Smarty::$_IS_WINDOWS ? 3 : 3, count($this->_errors));
|
||||||
|
|
||||||
restore_error_handler();
|
restore_error_handler();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user