[PATCH] fixup! fixup! fixup! deps: update ICU to 72.1
authorMichaël Zasso <targos@protonmail.com>
Thu, 20 Oct 2022 11:39:07 +0000 (13:39 +0200)
committerJérémy Lal <kapouer@melix.org>
Wed, 9 Nov 2022 17:16:06 +0000 (17:16 +0000)
Gbp-Pq: Topic build
Gbp-Pq: Name icu72-test.patch

test/parallel/test-intl.js

index 7d1742f2c7d1c6e335d3ccfc81ce0834c1de9c19..53a7d616f1a4276f956ff2be089dff02874f8670 100644 (file)
@@ -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
   {