From 4a09745c41e926d404d08675fc1d6822ae4618a9 Mon Sep 17 00:00:00 2001 From: Uwe Tews Date: Tue, 12 May 2015 03:50:24 +0200 Subject: [PATCH] Update for Linux results --- .../_Core/MuteExpectedErrors/MuteExpectedErrorsTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/UnitTests/_Core/MuteExpectedErrors/MuteExpectedErrorsTest.php b/tests/UnitTests/_Core/MuteExpectedErrors/MuteExpectedErrorsTest.php index 83aa10cb..a0325df2 100644 --- a/tests/UnitTests/_Core/MuteExpectedErrors/MuteExpectedErrorsTest.php +++ b/tests/UnitTests/_Core/MuteExpectedErrors/MuteExpectedErrorsTest.php @@ -62,10 +62,10 @@ class MuteExpectedErrorsTest extends PHPUnit_Smarty $this->smarty->clearCompiledTemplate('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'); - $this->assertEquals(Smarty::$_IS_WINDOWS ? 3 : 2, count($this->_errors)); + $this->assertEquals(Smarty::$_IS_WINDOWS ? 3 : 3, count($this->_errors)); restore_error_handler(); } @@ -110,11 +110,11 @@ class MuteExpectedErrorsTest extends PHPUnit_Smarty $this->smarty->clearCompiledTemplate('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'); $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(); }