Skip to content

Commit

Permalink
Update test-intl to unconditionally expect a space in date formatting (
Browse files Browse the repository at this point in the history
  • Loading branch information
ajklein committed Feb 10, 2023
1 parent f5307f4 commit 9b7813d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 0 additions & 2 deletions test/parallel/parallel.status
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ test-child-process-stdio-overlapped: SKIP
test-repl-mode: SKIP
# Temporarily disabled to land https://crrev.com/c/3799431
test-repl: SKIP
# Temporarily disabled to land https://crrev.com/c/4237675
test-intl: SKIP

# Temporarily skip for https://crrev.com/c/2974772
test-util-inspect: SKIP
Expand Down
6 changes: 1 addition & 5 deletions test/parallel/test-intl.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,7 @@ if (!common.hasIntl) {
// Test format
{
const localeString = date0.toLocaleString(['en'], optsGMT);
if (Number(process.versions.cldr) >= 42) {
assert.strictEqual(localeString, '1/1/1970, 12:00:00 AM');
} else {
assert.strictEqual(localeString, '1/1/1970, 12:00:00 AM');
}
assert.strictEqual(localeString, '1/1/1970, 12:00:00 AM');
}
// number format
{
Expand Down

0 comments on commit 9b7813d

Please sign in to comment.