diff options
author | Victor Chang <vichang@google.com> | 2023-09-29 13:17:39 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2023-09-29 13:17:39 +0000 |
commit | 15b9fb0b2e08f60ad412fb651b2963fa457652dc (patch) | |
tree | 7c0067fd3a55cd593296bb775b962b346c4472bf | |
parent | 8993490f4763afc400d80f1aa5930bffb15e4ac1 (diff) | |
parent | 18c88b6f1b46594f515969c92f76d1ac2e3f3e9d (diff) | |
download | icu-15b9fb0b2e08f60ad412fb651b2963fa457652dc.tar.gz |
Android patch: Allow more than a min number of languages provided in AOSP am: b0b2b386cb am: 0e1e0ccb1e am: 18c88b6f1b
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/icu/+/24886973
Change-Id: Iae7db6deedc42d4b09b2a0b8a6e259bc8c7d4db6
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 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; |