From c82ea326a857f26839fcd25701da41775bedfb1e Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Thu, 16 Aug 2018 10:04:31 +0200 Subject: [PATCH] Intl.RelativeTimeFormat: Fix copy/paste errors in Polish tests. --- .../prototype/format/pl-pl-style-short.js | 4 ++-- .../prototype/formatToParts/pl-pl-style-narrow.js | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/intl402/RelativeTimeFormat/prototype/format/pl-pl-style-short.js b/test/intl402/RelativeTimeFormat/prototype/format/pl-pl-style-short.js index 357d55b8ca..f25ab5643c 100644 --- a/test/intl402/RelativeTimeFormat/prototype/format/pl-pl-style-short.js +++ b/test/intl402/RelativeTimeFormat/prototype/format/pl-pl-style-short.js @@ -18,9 +18,9 @@ function always(s) { // https://www.unicode.org/cldr/charts/33/summary/pl.html#1419 const units = { - "second": always("s"), + "second": always("sek."), "minute": always("min"), - "hour": always("g."), + "hour": always("godz."), "day": { "many": "dni", "few": "dni", diff --git a/test/intl402/RelativeTimeFormat/prototype/formatToParts/pl-pl-style-narrow.js b/test/intl402/RelativeTimeFormat/prototype/formatToParts/pl-pl-style-narrow.js index cdf74d3106..263a36450f 100644 --- a/test/intl402/RelativeTimeFormat/prototype/formatToParts/pl-pl-style-narrow.js +++ b/test/intl402/RelativeTimeFormat/prototype/formatToParts/pl-pl-style-narrow.js @@ -28,9 +28,9 @@ function always(s) { // https://www.unicode.org/cldr/charts/33/summary/pl.html#1419 const units = { - "second": always("sek."), + "second": always("s"), "minute": always("min"), - "hour": always("godz."), + "hour": always("g."), "day": { "many": "dni", "few": "dni", @@ -51,7 +51,7 @@ const units = { }; const rtf = new Intl.RelativeTimeFormat("pl-PL", { - "style": "short", + "style": "narrow", }); assert.sameValue(typeof rtf.formatToParts, "function", "formatToParts should be supported");