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

Commit

Permalink
Update because of smarty-php/smarty#377
Browse files Browse the repository at this point in the history
  • Loading branch information
uwetews committed Jul 21, 2017
1 parent 53a039c commit 0b70599
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down Expand Up @@ -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();
}
Expand Down

0 comments on commit 0b70599

Please sign in to comment.