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
59f5b49359
remove 0 from the range and use undefined
2020-07-09 21:52:54 -04:00
Frank Yung-Fong Tang
1161eee3e4
use undefined instead of 0
2020-07-09 21:52:54 -04:00
Frank Yung-Fong Tang
36e4278f20
use undefined instead of 0 so range is only 1-3
2020-07-09 21:52:54 -04:00
Frank Yung-Fong Tang
21824359d0
restrict the range from 1 to 3
2020-07-09 21:52:54 -04:00
Frank Yung-Fong Tang
e620226cd7
limit the range to 1 to 3 only
2020-07-09 21:52:54 -04:00
Yusuke Suzuki
281eb10b28
Intl.DateTimeFormat.{formatRange,formatRangeToParts} should throw TypeError instead of RangeError if either of parameter is undefined ( #2685 )
...
http://tc39.es/proposal-intl-DateTimeFormat-formatRange/
The spec draft throws TypeError instead of RangeError.
1.4.5 Intl.DateTimeFormat.prototype.formatRange ( startDate , endDate )
...
4. If startDate is undefined or endDate is undefined, throw a TypeError exception.
1.4.6 Intl.DateTimeFormat.prototype.formatRangeToParts ( startDate , endDate )
...
4. If startDate is undefined or endDate is undefined, throw a TypeError exception.
2020-07-01 14:45:43 -07:00
André Bargull
649d0d2c9a
Update list of non-algorithmic numbering systems
...
Per https://github.com/tc39/ecma402/pull/438
2020-06-24 12:11:36 -04:00
André Bargull
630f7dee66
Updated expected error in NumberFormat constructor per current spec
2020-06-24 12:11:36 -04:00
André Bargull
d42aaa4b15
Expect `undefined` when no fractional second digits are present
...
Change the expected value per the current PR.
2020-06-24 12:11:36 -04:00
Frank Tang
8d3dd2d1a0
Sync the test w/ changes in intl-datetime-style 43
...
See
https://github.com/tc39/proposal-intl-datetime-style/pull/43
2020-06-17 12:44:31 -04:00
Frank Tang
ae0de0b6bb
Remove redundant assert
2020-06-10 12:30:58 -04:00
Frank Tang
c6fd7eb602
Update Intl.Segmenter to latest spec
...
Remove methods removed in the latest reversion.
Still need to add tests for:
1.5.2.1 %SegmentsPrototype%.containing ( index )
1.6.2.1 %SegmentIteratorPrototype%.next ()
1.6.2.2 %SegmentIteratorPrototype% [ @@toStringTag ]
2020-06-10 12:30:58 -04:00
Alexey Shvayka
ef12a8b11c
Intl: Add coverage for meaningful @@toStringTag values ( #2634 )
...
* Add Intl.Collator tests
* Add Intl.DateTimeFormat tests
* Adjust Intl.NumberFormat tests
* Add Intl.PluralRules tests
* Remove now duplicated tests
* Add "toString-changed-tag.js" tests
2020-06-01 15:40:35 -07:00
Frank Yung-Fong Tang
850c65317f
Revert "Correct the expectation of zh-Hant"
...
This reverts commit e8dfe549a8
.
2020-04-29 17:22:28 -04:00
Frank Yung-Fong Tang
e8dfe549a8
Correct the expectation of zh-Hant
...
It is incorrect to expect the minimize result of "zh-Hant" to be "zh-TW". It should be "zh-Hant". Why?
first, what we have in input for zh-Hant
lang = zh
region = [none]
script = Hant
Now, look at the AddLikelySubtags algorithm in http://www.unicode.org/reports/tr35/#Likely_Subtags
2020-04-25 18:52:46 -04:00
Frank Yung-Fong Tang
c3e980addf
correct style-short.js
2020-04-25 18:48:40 -04:00
Frank Yung-Fong Tang
df861e4bbc
correct style-narrow.js
2020-04-25 18:48:40 -04:00
Frank Yung-Fong Tang
d6c1b361c8
style-long.js
2020-04-25 18:48:40 -04:00
Frank Yung-Fong Tang
17fe569a5e
correct style-short.js
2020-04-25 18:48:40 -04:00
Frank Yung-Fong Tang
81de828140
correct style-narrow.js
2020-04-25 18:48:40 -04:00
Frank Yung-Fong Tang
79c1818a68
Correct pl-pl*.js test for minimumGroupingDigits
...
pl has minimumGroupingDigits{"2"} in locale data according to CLDR
therefore there should be no \u00a0 between 1 and 000
Close https://github.com/tc39/test262/issues/2589
2020-04-25 18:48:40 -04:00
Frank Yung-Fong Tang
0942fe16ae
correct comments
2020-04-25 18:43:48 -04:00
Frank Yung-Fong Tang
9b54c22e10
correct comments
2020-04-25 18:43:48 -04:00
Frank Yung-Fong Tang
aabf688371
correct comment
2020-04-25 18:43:48 -04:00
Frank Yung-Fong Tang
e72a96572b
Change the compareArray to allow new property
...
Change the compareArray to code which allow new property but still assert the actual output contains the expected and assert the order.
2020-04-25 18:43:48 -04:00
Frank Yung-Fong Tang
21440c733c
Change compareArray to allow new property
...
Change the compareArray to code which allow new property but still assert the actual output contains the expected and assert the order.
2020-04-25 18:43:48 -04:00
Frank Yung-Fong Tang
fc55e45698
Change the compareArray to allow new property
...
Change the compareArray to code which allow new property but still assert the actual output contains the expected and assert the order.
2020-04-25 18:43:48 -04:00
Frank Yung-Fong Tang
8ad12251ae
Change compareArray to allow new property
...
Change the compareArray to code which allow new property but still assert the actual output contains the expected and assert the order.
2020-04-25 18:43:48 -04:00
Frank Yung-Fong Tang
4fb0e70db0
add "fractionalSecondDigits"
2020-04-25 18:43:48 -04:00
Frank Yung-Fong Tang
9c6ab189b7
Add fractionalSecondDigits
...
close https://github.com/tc39/test262/issues/2591
2020-04-25 18:43:48 -04:00
Jeff Walden
31dabb5618
Add a test for Unicode key-type pairs being canonicalized by Intl.Locale regardless whether they're passed in the input tag, or through the options object.
2020-04-23 10:49:48 -04:00
Frank Yung-Fong Tang
064d3c24e3
correct exceptions for exceptZero
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
18f55513f0
correct expectation for exceptZero
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
7bb81a4ee0
correct expectation for exceptZero
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
52ec5850d6
correct expectation for exceptZero
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
6b3b5c100a
correct expectation for exceptZero
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
7aa12918ec
correct expectation for exceptZero
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
fb00de47c0
correct expectation of exceptZero
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
11cc0c03f9
correct expectation for exceptZero
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
9119877088
correct expectation for exceptZero
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
2022f97a25
correct expectation for exceptZero
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
0fc6784390
correct exceptZero expectation
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
988bf55b25
correct exceptZero expectation
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
e5d4129d37
correct for exceptZero
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
8293c961e9
correct expectation for exceptZero
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
0279d96432
correct cases for exceptZero
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
d4017357d8
correction for exceptZero
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
f07fe8cb1c
correct
2020-04-23 10:46:27 -04:00