Skip to content

Commit fe95574

Browse files
committed
Update expected failure files
The Node versions that got CLDR updates now have many failing tests. Put these in a new "expected-failures-cldr48.txt" file that applies to Node 20, 22, and 24, (but not 23), and hopefully will be deleted in a future rebase.
1 parent b3352c9 commit fe95574

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

runtest262.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ yargs(hideBin(process.argv))
3535
if (nodeVersion < 23) expectedFailureFiles.push('test/expected-failures-before-node23.txt');
3636
// Eventually this should be fixed and this condition should be updated.
3737
if (nodeVersion >= 18) expectedFailureFiles.push('test/expected-failures-cldr42.txt');
38+
if (nodeVersion >= 20 && nodeVersion !== 23) expectedFailureFiles.push('test/expected-failures-cldr48.txt');
3839

3940
// As we migrate commits from proposal-temporal, remove expected failures from here.
4041
expectedFailureFiles.push('test/expected-failures-todo-migrated-code.txt');

test/expected-failures-cldr48.txt

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Tests in this file are expected to fail for Node 20 LTS, Node 22 LTS, and
2+
# Node 24 LTS.
3+
4+
# CLDR 48 introduced "Mo1" through "Mo12" English month names in the Chinese
5+
# calendar, which the polyfill won't handle until a later rebase.
6+
intl402/Temporal/PlainDate/from/calendar-not-supporting-eras.js
7+
intl402/Temporal/PlainDate/prototype/until/until-across-lunisolar-leap-months.js
8+
intl402/Temporal/PlainDateTime/from/calendar-not-supporting-eras.js
9+
intl402/Temporal/PlainMonthDay/from/calendar-not-supporting-eras.js
10+
intl402/Temporal/PlainMonthDay/from/constrain-to-leap-day.js
11+
intl402/Temporal/PlainYearMonth/from/calendar-not-supporting-eras.js
12+
intl402/Temporal/PlainYearMonth/from/reference-day-chinese.js
13+
intl402/Temporal/ZonedDateTime/from/calendar-not-supporting-eras.js
14+
staging/Intl402/Temporal/old/addition-across-lunisolar-leap-months-chinese.js
15+
staging/Intl402/Temporal/old/non-iso-calendars-chinese.js
16+
staging/Intl402/Temporal/old/non-iso-calendars-dangi.js
17+
staging/sm/Temporal/PlainMonthDay/from-chinese-leap-month-common.js
18+
staging/sm/Temporal/PlainMonthDay/from-chinese.js
19+
20+
# CLDR 48 provides new era code, which the polyfill won't handle until a later
21+
# rebase.
22+
staging/sm/Temporal/PlainDate/withCalendar.js
23+
24+
# Tests incorrect, expecting old era codes
25+
staging/Intl402/Temporal/old/non-iso-calendars-coptic.js
26+
staging/Intl402/Temporal/old/non-iso-calendars-ethioaa.js
27+
staging/Intl402/Temporal/old/non-iso-calendars-indian.js
28+
29+
# Needs further investigation if a later rebase doesn't fix:
30+
staging/sm/Temporal/PlainDate/non-positive-era-year.js

0 commit comments

Comments
 (0)