Skip to content

Commit

Permalink
CLDR-17345 In testLanguageTagParserIsValid, mark co-reformed as valid…
Browse files Browse the repository at this point in the history
… (though deprecated) (#3505)
  • Loading branch information
pedberg-icu authored Feb 14, 2024
1 parent 7c82449 commit d6ec5ba
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -953,6 +953,8 @@ public void testLanguageTagParserIsValid() {
LstrType.extension,
new AllowedMatch("co", "direct"),
LstrType.extension,
new AllowedMatch("co", "reformed"),
LstrType.extension,
new AllowedMatch("rg", "unknown"),
LstrType.extension,
new AllowedMatch(
Expand Down Expand Up @@ -990,11 +992,7 @@ public void testLanguageTagParserIsValid() {
try {
ltp.set(composite); // clears other fields
LocaleValidator.isValid(ltp, bcp47, errors);
if (logKnownIssue(
"CLDR-17345",
"testLanguageTagParserIsValid() fail on en-u-co-reformed after CLDR-17143")
&& composite.endsWith("-co-reformed")) {
} else if (!assertEquals(composite, expected, Joiner.on("; ").join(errors))) {
if (!assertEquals(composite, expected, Joiner.on("; ").join(errors))) {
LocaleValidator.isValid(ltp, bcp47, errors);
}
} catch (Exception e) {
Expand Down

0 comments on commit d6ec5ba

Please sign in to comment.