瀏覽代碼

Add BOGUS UErrorCode test

stealth35 13 年之前
父節點
當前提交
5799d25324
共有 1 個文件被更改,包括 2 次插入0 次删除
  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]'),
         );
     }