소스 검색

[Locale] use is64Bit helper for StubIntlDateFormatterTest

Igor Wiedler 14 년 전
부모
커밋
31313f183a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tests/Symfony/Tests/Component/Locale/Stub/StubIntlDateFormatterTest.php

+ 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'),
             ));