Просмотр исходного кода

[Locale] use is64Bit helper for StubIntlDateFormatterTest

Igor Wiedler 14 лет назад
Родитель
Сommit
31313f183a

+ 1 - 1
tests/Symfony/Tests/Component/Locale/Stub/StubIntlDateFormatterTest.php

@@ -235,7 +235,7 @@ class StubIntlDateFormatterTest extends LocaleTestCase
 
         // BC era has huge negative unix timestamp
         // so testing it requires 64bit
-        if (2147483647 > PHP_INT_MAX) {
+        if ($this->is64Bit()) {
             $formatData = array_merge($formatData, array(
                 array('G', -62167222800, 'BC'),
             ));