diff options
Diffstat (limited to 'icu4c/source/test/intltest/loctest.cpp')
-rw-r--r-- | icu4c/source/test/intltest/loctest.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/icu4c/source/test/intltest/loctest.cpp b/icu4c/source/test/intltest/loctest.cpp index 2cf9143ad..ecc1bf01a 100644 --- a/icu4c/source/test/intltest/loctest.cpp +++ b/icu4c/source/test/intltest/loctest.cpp @@ -927,8 +927,9 @@ LocaleTest::TestGetLangsAndCountries() ; /* TODO: Change this test to be more like the cloctst version? */ - if (testCount != 595) - errln("Expected getISOLanguages() to return 595 languages; it returned %d", testCount); + // Allow more than a min number of languages provided in AOSP + if (testCount < 595) + errln("Expected getISOLanguages() to return at least 595 languages; it returned %d", testCount); else { for (i = 0; i < 15; i++) { int32_t j; |