Explorar o código

Add BOGUS UErrorCode test

stealth35 %!s(int64=13) %!d(string=hai) anos
pai
achega
5799d25324
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      tests/Symfony/Tests/Component/Locale/Stub/StubIntlTest.php

+ 2 - 0
tests/Symfony/Tests/Component/Locale/Stub/StubIntlTest.php

@@ -22,9 +22,11 @@ class StubIntlTest extends LocaleTestCase
     public function codeProvider()
     {
         return array (
+            array(-129, '[BOGUS UErrorCode]'),
             array(0, 'U_ZERO_ERROR'),
             array(1, 'U_ILLEGAL_ARGUMENT_ERROR'),
             array(9, 'U_PARSE_ERROR'),
+            array(129, '[BOGUS UErrorCode]'),
         );
     }