Skip to content

Commit

Permalink
CLDR-17233 Add unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pedberg-icu committed Nov 27, 2023
1 parent 01d9632 commit 7051c1b
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,17 @@ class PathSpaceAdjustData {
"//ldml/units/unitLength[@type=\"short\"]unit[@type=\"mass-gram\"]/unitPattern[@count=\"other\"]",
"g {0}",
"g\u00A0{0}"),
// tests for CLDR-17233
new PathSpaceAdjustData(
"es",
"//ldml/dates/calendars/calendar[@type=\"gregorian\"]/dayPeriods/dayPeriodContext[@type=\"format\"]/dayPeriodWidth[@type=\"abbreviated\"]/dayPeriod[@type=\"am\"]",
"a. \u202Fm.",
"a.\u202Fm."),
new PathSpaceAdjustData(
"vi",
"//ldml/dates/calendars/calendar[@type=\"generic\"]/dateTimeFormats/intervalFormats/intervalFormatItem[@id=\"MMM\"]/greatestDifference[@id=\"M\"]",
"MMM\u2009\u2009MMM",
"MMM\u2009\u2009MMM"),
};

for (PathSpaceAdjustData testItem : testItems) {
Expand Down

0 comments on commit 7051c1b

Please sign in to comment.