This repository was archived by the owner on Apr 13, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
UnitTests/_Core/MuteExpectedErrors Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments