ICU-22920 fix exhaustive tests for likely subtags failure ICU-22976

This commit is contained in:
Craig Cornelius 2024-11-21 21:52:34 +00:00
parent b54f3f5d91
commit e38ac306bc

View file

@ -5923,6 +5923,11 @@ testLikelySubtagsLineFn(void *context,
return;
}
if ((uprv_strcmp(source.c_str(), "und-Latn-RS") == 0 )
&& THIS->logKnownIssue("ICU-22976", "unexpected likely subtags for und-Latn-RS")) {
return;
}
Locale actualMax(l);
actualMax.addLikelySubtags(*pErrorCode);
if (addLikely == "FAIL") {