Skip to content

Commit

Permalink
ICU-22922 Integrate CLDR 47 release alpha1, part 4, updated unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
DraganBesevic committed Jan 30, 2025
1 parent d49c124 commit 4e1d9b3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -569,8 +569,8 @@ private void check2(Set<ULocale> sorted) {
@Test
public void testAsymmetry() {
LocaleMatcher matcher;
matcher = new LocaleMatcher("mul, nl");
assertEquals("mul", matcher.getBestMatch("af").toString()); // af => nl
matcher = new LocaleMatcher("mul, de");
assertEquals("de", matcher.getBestMatch("gsw").toString()); // af => nl

matcher = new LocaleMatcher("mul, af");
assertEquals("mul", matcher.getBestMatch("nl").toString()); // but nl !=> af
Expand Down

0 comments on commit 4e1d9b3

Please sign in to comment.