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