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
Frank Yung-Fong Tang
c1a1111972
correct
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
832ecd285f
correct
2020-04-23 10:46:27 -04:00
Frank Yung-Fong Tang
940be668ca
correct expectation for signDisplay: "exceptZero"
2020-04-23 10:46:27 -04:00
André Bargull
18bb955771
Upstream additional language tag canonicalisation and Intl.Locale tests from SpiderMonkey
...
Adds more canonicalisation and Intl.Locale tests from:
- https://hg.mozilla.org/mozilla-central/file/tip/js/src/tests/non262/Intl/Locale
- https://hg.mozilla.org/mozilla-central/file/tip/js/src/tests/non262/Intl/
2020-04-09 09:20:55 -04:00
André Bargull
5d8e6c8e85
Restore grandfathered tests removed in #2054
...
With the move to UTS 35 for language tag processing, the expected
canonicalisation results for "cel-gaulish" should now be consistent across
implementations.
2020-04-09 09:20:55 -04:00
André Bargull
de02cf4dd5
Re-enable variant subtag canonicalisation in tests
...
UTS 35 canonicalisation requires to (again) canonicalise variant subtags.
2020-04-09 09:20:55 -04:00
André Bargull
ae8694b4b7
Copy "invalid options" test from RelativeTimeFormat to NumberFormat/DateTimeFormat
...
The invalid 'numberingSystem' options test from RelativeTimeFormat covers a few
more cases, so let's reuse it for NumberFormat and DateTimeFormat.
While there, also add tests using non-ASCII inputs.
Fixes #2540
2020-03-30 13:58:04 -04:00
Caio Lima
5d5904d69a
Adding test cases to verify that 'numberingSystem' and 'calendar' options are being mapped to lower case
2020-02-20 12:33:21 -05:00
Ms2ger
1f7f5ef23c
Change the unit in the NumberFormat unit tests.
...
This ensures https://github.com/tc39/proposal-unified-intl-numberformat/pull/93 is covered.
2020-02-06 11:09:18 -05:00
Caio Lima
6ecaf1f065
Adjusting separator character
2020-02-05 15:11:25 -05:00
Caio Lima
2e6a371f71
Adding missing 'zip' function
2020-02-05 15:11:25 -05:00
Caio Lima
1337f11e21
Adding tests to cover 'fractionalSecondDigits' on DateTimeFormat.prototype.formatRangeToParts.
2020-02-05 15:11:25 -05:00
Caio Lima
04b1d2254b
Added tests with invalid values for calendar and numberingSystem ( #2480 )
2020-01-24 14:21:33 -05:00
Ms2ger
28b4fcca4b
Add tests for the numberingSystem option to RelativeTimeFormat. ( #2459 )
...
* Add tests for the numberingSystem option to RelativeTimeFormat.
* fixup! Add tests for the numberingSystem option to RelativeTimeFormat.
2020-01-08 16:29:13 -05:00
Ms2ger
87ac236324
Add a specific test for relatedYear output. ( #2458 )
...
Based on <https://cs.chromium.org/chromium/src/v8/test/intl/date-format/related-year.js >.
Fixes #2332 .
2020-01-08 16:27:39 -05:00