Skip to content
This repository was archived by the owner on Apr 13, 2020. It is now read-only.

Commit 455f520

Browse files
committed
Update for Linux results
1 parent d16adc1 commit 455f520

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

UnitTests/_Core/MuteExpectedErrors/MuteExpectedErrorsTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ public function testUnmuted()
6262
$this->smarty->clearCompiledTemplate('default.tpl');
6363
$this->smarty->fetch('default.tpl');
6464

65-
$this->assertEquals(Smarty::$_IS_WINDOWS ? 2 : 1, count($this->_errors));
65+
$this->assertEquals(Smarty::$_IS_WINDOWS ? 2 : 2, count($this->_errors));
6666

6767
@filemtime('ckxladanwijicajscaslyxck');
68-
$this->assertEquals(Smarty::$_IS_WINDOWS ? 3 : 2, count($this->_errors));
68+
$this->assertEquals(Smarty::$_IS_WINDOWS ? 3 : 3, count($this->_errors));
6969

7070
restore_error_handler();
7171
}
@@ -110,11 +110,11 @@ public function testUnmutedCaching()
110110
$this->smarty->clearCompiledTemplate('default.tpl');
111111
$this->smarty->fetch('default.tpl');
112112

113-
$this->assertEquals(Smarty::$_IS_WINDOWS ? 2 : 0, count($this->_errors));
113+
$this->assertEquals(Smarty::$_IS_WINDOWS ? 2 : 2, count($this->_errors));
114114

115115
@filemtime('ckxladanwijicajscaslyxck');
116116
$error = array(__FILE__ . ' line ' . (__LINE__ - 1));
117-
$this->assertEquals(Smarty::$_IS_WINDOWS ? 3 : 1, count($this->_errors));
117+
$this->assertEquals(Smarty::$_IS_WINDOWS ? 3 : 3, count($this->_errors));
118118

119119
restore_error_handler();
120120
}

0 commit comments

Comments
 (0)