diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-01-31 01:21:57 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-01-31 01:21:57 +0000 |
commit | c8166d3edd96950e892d4ce739bae29084b85ca4 (patch) | |
tree | 48c26ec4bad17ce91aebfc2a518172d92e55bb8b | |
parent | a4e75ac63e79478473335dfc39adae44b9d51a7d (diff) | |
parent | 515c39b50babf376572b8f1563a2be373da4e84c (diff) | |
download | icu-android13-mainline-wifi-release.tar.gz |
Snap for 9541583 from 515c39b50babf376572b8f1563a2be373da4e84c to mainline-wifi-releaseaml_wif_331810010aml_wif_331710030aml_wif_331613000android13-mainline-wifi-release
Change-Id: I6dcb5394c3e72a6045094fc390b44c9475be453c
-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; |