summaryrefslogtreecommitdiff
path: root/deps/v8/test/intl/date-format/en-format-range-to-parts.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/intl/date-format/en-format-range-to-parts.js')
-rw-r--r--deps/v8/test/intl/date-format/en-format-range-to-parts.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/v8/test/intl/date-format/en-format-range-to-parts.js b/deps/v8/test/intl/date-format/en-format-range-to-parts.js
index 9d9b2b8193..41162f1a5c 100644
--- a/deps/v8/test/intl/date-format/en-format-range-to-parts.js
+++ b/deps/v8/test/intl/date-format/en-format-range-to-parts.js
@@ -15,7 +15,7 @@ const expected1 = [
{type: "month", value: "Jan", source: "shared"},
{type: "literal", value: " ", source: "shared"},
{type: "day", value: "3", source: "startRange"},
- {type: "literal", value: " – ", source: "shared"},
+ {type: "literal", value: "\u2009–\u2009", source: "shared"},
{type: "day", value: "5", source: "endRange"},
{type: "literal", value: ", ", source: "shared"},
{type: "year", value: "2019", source: "shared"}
@@ -37,9 +37,9 @@ const expected2 = [
{type: "day", value: "5", source: "shared"},
{type: "literal", value: ", ", source: "shared"},
{type: "hour", value: "7", source: "startRange"},
- {type: "literal", value: " – ", source: "shared"},
+ {type: "literal", value: "\u2009–\u2009", source: "shared"},
{type: "hour", value: "10", source: "endRange"},
- {type: "literal", value: " ", source: "shared"},
+ {type: "literal", value: "\u202f", source: "shared"},
{type: "dayPeriod", value: "PM", source: "shared"}
];
dtf = new Intl.DateTimeFormat(["en"], {month: "short", day: "numeric", hour: "numeric"});