From: Michaël Zasso Date: Thu, 20 Oct 2022 11:39:07 +0000 (+0200) Subject: [PATCH] fixup! fixup! fixup! deps: update ICU to 72.1 X-Git-Tag: archive/raspbian/18.12.1+dfsg-2+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8e975a86615dac3967741b0955c0b840b118812e;p=nodejs.git [PATCH] fixup! fixup! fixup! deps: update ICU to 72.1 Gbp-Pq: Topic build Gbp-Pq: Name icu72-test.patch --- 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 {