Skip to content

Commit

Permalink
ICU-22920 fix exhaustive tests for likely subtags failure ICU-22976
Browse files Browse the repository at this point in the history
  • Loading branch information
sven-oly committed Nov 21, 2024
1 parent b54f3f5 commit e38ac30
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions icu4c/source/test/intltest/loctest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down

0 comments on commit e38ac30

Please sign in to comment.