diff options
author | Yinchu Chen <chenyc5@motorola.com> | 2023-01-25 19:28:05 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2023-01-25 19:28:05 +0000 |
commit | 515c39b50babf376572b8f1563a2be373da4e84c (patch) | |
tree | 48c26ec4bad17ce91aebfc2a518172d92e55bb8b | |
parent | 866f248a8ca8355dec3d510a13e70653dda58ef3 (diff) | |
parent | b8d382d43c54f385d172e0f2a8e793314d431c64 (diff) | |
download | icu-515c39b50babf376572b8f1563a2be373da4e84c.tar.gz |
DO NOT MERGE Allow more than a min number of languages provided in AOSP am: 33ef186691 am: b8d382d43c
Original change: https://android-review.googlesource.com/c/platform/external/icu/+/2315558
Change-Id: Iad8ff99868069d27133ade1e861ab0cb61dde6fe
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-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 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; |