Skip to content

Commit

Permalink
CLDR-17143 Fix more unit test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
pedberg-icu committed Jan 31, 2024
1 parent fa922d3 commit ef30f77
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion common/testData/localeIdentifiers/localeDisplayName.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ en-u-co-gb2312; English (Simplified Chinese Sort Order - GB2312)
en-u-co-phonebk; English (Phonebook Sort Order)
en-u-co-phonetic; English (Phonetic Sort Order)
en-u-co-pinyin; English (Pinyin Sort Order)
en-u-co-reformed; English (Reformed Sort Order)
en-u-co-search; English (General-Purpose Search)
en-u-co-searchjl; English (Search By Hangul Initial Consonant)
en-u-co-standard; English (Standard Sort Order)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -990,7 +990,11 @@ public void testLanguageTagParserIsValid() {
try {
ltp.set(composite); // clears other fields
LocaleValidator.isValid(ltp, bcp47, errors);
if (!assertEquals(composite, expected, Joiner.on("; ").join(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))) {
LocaleValidator.isValid(ltp, bcp47, errors);
}
} catch (Exception e) {
Expand Down

0 comments on commit ef30f77

Please sign in to comment.