diff --git a/test/intl402/DateTimeFormat/constructor-calendar-numberingSystem-order.js b/test/intl402/DateTimeFormat/constructor-calendar-numberingSystem-order.js index e1d217ae6d..07311f104a 100644 --- a/test/intl402/DateTimeFormat/constructor-calendar-numberingSystem-order.js +++ b/test/intl402/DateTimeFormat/constructor-calendar-numberingSystem-order.js @@ -3,16 +3,17 @@ /*--- esid: sec-initializedatetimeformat -description: Checks the order of getting "calendar" and "numberingSystem" options in the - DateTimeFormat is between "localeMatcher" and "hour12" options. +description: > + Checks the order of getting "calendar" and "numberingSystem" options in the + DateTimeFormat is between "localeMatcher" and "hour12" options. info: | - 4. Let _matcher_ be ? GetOption(_options_, `"localeMatcher"`, `"string"`, « `"lookup"`, `"best fit"` », `"best fit"`). - ... - 6. Let _calendar_ be ? GetOption(_options_, `"calendar"`, `"string"`, *undefined*, *undefined*). - ... - 9. Let _numberingSystem_ be ? GetOption(_options_, `"numberingSystem"`, `"string"`, *undefined*, *undefined*). - ... - 12. Let _hour12_ be ? GetOption(_options_, `"hour12"`, `"boolean"`, *undefined*, *undefined*). + 4. Let _matcher_ be ? GetOption(_options_, `"localeMatcher"`, `"string"`, « `"lookup"`, `"best fit"` », `"best fit"`). + ... + 6. Let _calendar_ be ? GetOption(_options_, `"calendar"`, `"string"`, *undefined*, *undefined*). + ... + 9. Let _numberingSystem_ be ? GetOption(_options_, `"numberingSystem"`, `"string"`, *undefined*, *undefined*). + ... + 12. Let _hour12_ be ? GetOption(_options_, `"hour12"`, `"boolean"`, *undefined*, *undefined*). includes: [compareArray.js] ---*/ @@ -38,10 +39,10 @@ const options = { }; const expected = [ - "localeMatcher", - "calendar", - "numberingSystem", - "hour12" + "localeMatcher", + "calendar", + "numberingSystem", + "hour12" ]; let df = new Intl.DateTimeFormat(undefined, options); diff --git a/test/intl402/DateTimeFormat/prototype/formatRangeToParts/pattern-on-calendar.js b/test/intl402/DateTimeFormat/prototype/formatRangeToParts/pattern-on-calendar.js index 208f6f5e73..ff9bcd1a2a 100644 --- a/test/intl402/DateTimeFormat/prototype/formatRangeToParts/pattern-on-calendar.js +++ b/test/intl402/DateTimeFormat/prototype/formatRangeToParts/pattern-on-calendar.js @@ -3,8 +3,9 @@ /*--- esid: sec-initializedatetimeformat -description: Checks the DateTimeFormat choose different patterns based - on calendar. +description: > + Checks the DateTimeFormat choose different patterns based + on calendar. locale: [en] ---*/ diff --git a/test/intl402/DateTimeFormat/prototype/formatToParts/pattern-on-calendar.js b/test/intl402/DateTimeFormat/prototype/formatToParts/pattern-on-calendar.js index 2de954ec08..0808864f7c 100644 --- a/test/intl402/DateTimeFormat/prototype/formatToParts/pattern-on-calendar.js +++ b/test/intl402/DateTimeFormat/prototype/formatToParts/pattern-on-calendar.js @@ -3,8 +3,9 @@ /*--- esid: sec-initializedatetimeformat -description: Checks the DateTimeFormat choose different patterns based - on calendar. +description: > + Checks the DateTimeFormat choose different patterns based + on calendar. locale: [en] ---*/ diff --git a/test/intl402/NumberFormat/constructor-numberingSystem-order.js b/test/intl402/NumberFormat/constructor-numberingSystem-order.js index bf3b244a4e..b99b037f39 100644 --- a/test/intl402/NumberFormat/constructor-numberingSystem-order.js +++ b/test/intl402/NumberFormat/constructor-numberingSystem-order.js @@ -3,16 +3,17 @@ /*--- esid: sec-initializenumberformat -description: Checks the order of getting "numberingSystem" option in the - NumberFormat is between "localeMatcher" and "style" options. +description: > + Checks the order of getting "numberingSystem" option in the + NumberFormat is between "localeMatcher" and "style" options. info: | - InitializeNumberFormat ( _numberFormat_, _locales_, _options_ ) - 5. Let _matcher_ be ? GetOption(_options_, `"localeMatcher"`, `"string"`, « `"lookup"`, `"best fit"` », `"best fit"`). - ... - 7. Let _numberingSystem_ be ? GetOption(_options_, `"numberingSystem"`, `"string"`, *undefined*, *undefined*). - ... - 17. Let _style_ be ? GetOption(_options_, `"style"`, `"string"`, « `"decimal"`, `"percent"`, `"currency"` », `"decimal"`). + InitializeNumberFormat ( _numberFormat_, _locales_, _options_ ) + 5. Let _matcher_ be ? GetOption(_options_, `"localeMatcher"`, `"string"`, « `"lookup"`, `"best fit"` », `"best fit"`). + ... + 7. Let _numberingSystem_ be ? GetOption(_options_, `"numberingSystem"`, `"string"`, *undefined*, *undefined*). + ... + 17. Let _style_ be ? GetOption(_options_, `"style"`, `"string"`, « `"decimal"`, `"percent"`, `"currency"` », `"decimal"`). includes: [compareArray.js] ---*/ @@ -34,9 +35,9 @@ const options = { }; const expected = [ - "localeMatcher", - "numberingSystem", - "style" + "localeMatcher", + "numberingSystem", + "style" ]; let nf = new Intl.NumberFormat(undefined, options);