From 8e975a86615dac3967741b0955c0b840b118812e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C3=ABl=20Zasso?= Date: Thu, 20 Oct 2022 13:39:07 +0200 Subject: [PATCH] [PATCH] fixup! fixup! fixup! deps: update ICU to 72.1 Gbp-Pq: Topic build Gbp-Pq: Name icu72-test.patch --- test/parallel/test-intl.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/parallel/test-intl.js b/test/parallel/test-intl.js index 7d1742f2c..53a7d616f 100644 --- a/test/parallel/test-intl.js +++ b/test/parallel/test-intl.js @@ -97,7 +97,12 @@ if (!common.hasIntl) { // Test format { const localeString = date0.toLocaleString(['en'], optsGMT); - assert.strictEqual(localeString, '1/1/1970, 12:00:00 AM'); + 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'); + } + } // number format { -- 2.30.2