From d6c1b361c897d9238fd3002b05c9a47c975380f7 Mon Sep 17 00:00:00 2001 From: Frank Yung-Fong Tang <41213225+FrankYFTang@users.noreply.github.com> Date: Wed, 22 Apr 2020 13:52:28 -0700 Subject: [PATCH] style-long.js --- .../prototype/formatToParts/pl-pl-style-long.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/test/intl402/RelativeTimeFormat/prototype/formatToParts/pl-pl-style-long.js b/test/intl402/RelativeTimeFormat/prototype/formatToParts/pl-pl-style-long.js index fb8d539344..47de6a88e3 100644 --- a/test/intl402/RelativeTimeFormat/prototype/formatToParts/pl-pl-style-long.js +++ b/test/intl402/RelativeTimeFormat/prototype/formatToParts/pl-pl-style-long.js @@ -74,9 +74,7 @@ assert.sameValue(typeof rtf.formatToParts, "function", "formatToParts should be for (const [unitArgument, expected] of Object.entries(units)) { verifyFormatParts(rtf.formatToParts(1000, unitArgument), [ { "type": "literal", "value": "za " }, - { "type": "integer", "value": "1", "unit": unitArgument }, - { "type": "group", "value": "\u00a0", "unit": unitArgument }, - { "type": "integer", "value": "000", "unit": unitArgument }, + { "type": "integer", "value": "1000", "unit": unitArgument }, { "type": "literal", "value": ` ${expected.many}` }, ], `formatToParts(1000, ${unitArgument})`); @@ -125,9 +123,7 @@ for (const [unitArgument, expected] of Object.entries(units)) { ], `formatToParts(-10, ${unitArgument})`); verifyFormatParts(rtf.formatToParts(-1000, unitArgument), [ - { "type": "integer", "value": "1", "unit": unitArgument }, - { "type": "group", "value": "\u00a0", "unit": unitArgument }, - { "type": "integer", "value": "000", "unit": unitArgument }, + { "type": "integer", "value": "1000", "unit": unitArgument }, { "type": "literal", "value": ` ${expected.many} temu` }, ], `formatToParts(-1000, ${unitArgument})`);