Parcourir la source

Add BOGUS UErrorCode test

stealth35 il y a 13 ans
Parent
commit
5799d25324
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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]'),
         );
     }