Skip to content
Permalink
Browse files

skip test for 32 bit systems, formatter returns false, causing fatal …

…error for toString()
  • Loading branch information...
ceeram committed Sep 24, 2014
1 parent 9066035 commit 5ee9441fcd17f810dc3d1c3b21e49cedbc114839
Showing with 1 addition and 0 deletions.
  1. +1 −0 tests/TestCase/I18n/TimeTest.php
@@ -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);

0 comments on commit 5ee9441

Please sign in to comment.
You can’t perform that action at this time.