From 3c0cc4da1c81e6bfc2b5fee32f965974450fbffc Mon Sep 17 00:00:00 2001 From: Uwe Tews Date: Fri, 21 Jul 2017 07:00:28 +0200 Subject: [PATCH] Update because of https://github.com/smarty-php/smarty/pull/377 --- .../A_Core/MuteExpectedErrors/MuteExpectedErrorsTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/UnitTests/A_Core/MuteExpectedErrors/MuteExpectedErrorsTest.php b/tests/UnitTests/A_Core/MuteExpectedErrors/MuteExpectedErrorsTest.php index 2c39bdfb4..67af6ec63 100644 --- a/tests/UnitTests/A_Core/MuteExpectedErrors/MuteExpectedErrorsTest.php +++ b/tests/UnitTests/A_Core/MuteExpectedErrors/MuteExpectedErrorsTest.php @@ -64,10 +64,10 @@ public function testUnmuted() $this->smarty->clearCompiledTemplate('default.tpl'); $this->smarty->fetch('default.tpl'); - $this->assertEquals(Smarty::$_IS_WINDOWS ? 2 : 2, count($this->_errors)); + $this->assertEquals(Smarty::$_IS_WINDOWS ? 3 : 3, count($this->_errors)); @filemtime('ckxladanwijicajscaslyxck'); - $this->assertEquals(Smarty::$_IS_WINDOWS ? 3 : 3, count($this->_errors)); + $this->assertEquals(Smarty::$_IS_WINDOWS ? 4 : 4, count($this->_errors)); restore_error_handler(); } @@ -112,11 +112,11 @@ public function testUnmutedCaching() $this->smarty->clearCompiledTemplate('default.tpl'); $this->smarty->fetch('default.tpl'); - $this->assertEquals(Smarty::$_IS_WINDOWS ? 2 : 2, count($this->_errors)); + $this->assertEquals(Smarty::$_IS_WINDOWS ? 4 : 4, count($this->_errors)); @filemtime('ckxladanwijicajscaslyxck'); $error = array(__FILE__ . ' line ' . (__LINE__ - 1)); - $this->assertEquals(Smarty::$_IS_WINDOWS ? 3 : 3, count($this->_errors)); + $this->assertEquals(Smarty::$_IS_WINDOWS ? 5 : 5, count($this->_errors)); restore_error_handler(); }