Skip to content

Commit

Permalink
skip test for 32 bit systems, formatter returns false, causing fatal …
Browse files Browse the repository at this point in the history
…error for toString()
  • Loading branch information
ceeram committed Sep 24, 2014
1 parent 9066035 commit 5ee9441
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/TestCase/I18n/TimeTest.php
Expand Up @@ -582,6 +582,7 @@ public function testToStringInvalid($value) {
*/
public function testToStringInvalidZeros() {
$this->skipIf(DS === '\\', 'All zeros are valid on windows.');
$this->skipIf(PHP_INT_SIZE === 4, 'IntlDateFormatter throws exceptions on 32-bit systems');
$time = new Time('0000-00-00');
$this->assertInternalType('string', (string)$time);
$this->assertNotEmpty((string)$time);
Expand Down

0 comments on commit 5ee9441

Please sign in to comment.