diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-09-30 03:11:12 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-09-30 03:11:12 +0000 |
commit | 13ef7e438a484011cb29b7dac467964c49fa7b4a (patch) | |
tree | 7c0067fd3a55cd593296bb775b962b346c4472bf | |
parent | b4ad25ea1cb24336372da4735ce2cdf6429b952d (diff) | |
parent | 15b9fb0b2e08f60ad412fb651b2963fa457652dc (diff) | |
download | icu-android14-qpr1-s2-release.tar.gz |
Snap for 10884398 from 15b9fb0b2e08f60ad412fb651b2963fa457652dc to udc-qpr1-releaseandroid-14.0.0_r27android-14.0.0_r26android-14.0.0_r25android-14.0.0_r24android-14.0.0_r23android-14.0.0_r22android-14.0.0_r21android-14.0.0_r20android-14.0.0_r19android-14.0.0_r18android-14.0.0_r17android-14.0.0_r16android14-qpr1-s2-releaseandroid14-qpr1-release
Change-Id: Idb9deb68af5400b3cced6d451e3b260909dfc786
-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; |