Frank Yung-Fong Tang
31126581e7
Change Intl.(ListFormat|DisplayNames|Segmenter) ( #2952 )
...
* Change Intl.(ListFormat|DisplayNames|Segmenter)
Sync from ToObject to GetOptionsObject which throw TypeError
while the option is not object
* Add null and false to test
2021-03-08 19:31:26 -08:00
Yusuke Suzuki
538fcd88d8
Intl.DisplayNames.length should be 2 ( #2711 )
...
`locales` and `options` are not optional parameters. So the length should be 2.
2020-07-20 16:29:05 -07:00
Frank Tang
5010996d5d
Test invalid type
2020-07-13 15:50:07 -07:00
Frank Tang
3c89cde3e0
Intl.DisplayNames make type required
...
Update the tests to the latest version after we make
the type option now required
Spec:
https://tc39.es/proposal-intl-displaynames/
Changes of spec:
https://github.com/tc39/proposal-intl-displaynames/pull/76
https://github.com/tc39/proposal-intl-displaynames/pull/83
2020-07-10 19:19:34 -07:00
Frank Yung-Fong Tang
31f1bb5a75
Remove date related types for Intl.DisplayNames ( #2448 )
2019-12-23 13:07:36 -05:00
Leo Balter
aa9ba4b58f
Add tests for Intl.DisplayNames#resolvedOptions ( #2405 )
2019-11-13 10:50:18 -05:00
Leo Balter
21195de94c
Inital commit for Intl.DisplayNames tests ( #2404 )
2019-10-17 10:32:00 -04:00