Commit Graph

4607 Commits

Author SHA1 Message Date
Alexey Shvayka 10a8c0420e Test throw() called w/o arguments 2020-04-29 17:33:10 -04:00
Alexey Shvayka 75a0c1bfad Test return() called w/o arguments 2020-04-29 17:33:10 -04:00
Gus Caplan 4d9dccf443 Remove invalid feature, fix lint 2020-04-29 17:31:45 -04: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
Alexey Shvayka fd90d58f05 Change `alphanum` to character class
Co-Authored-By: Ross Kirsling <rkirsling@gmail.com>
2020-04-29 17:22:05 -04:00
Alexey Shvayka d3b3e5e586 Make `alphanum` a non-capturing group 2020-04-29 17:22:05 -04:00
Alexey Shvayka 4371e3ae36 Remove unnecessary capture group 2020-04-29 17:22:05 -04:00
Alexey Shvayka af05e8e4f7 Revert "Simplify alphanum regex in testIntl.js"
This reverts commit d57bd9d4bd.
2020-04-29 17:22:05 -04:00
Alexey Shvayka a3c7d30cbb Add AsyncGeneratorFunction test 2020-04-26 16:19:25 -04:00
Alexey Shvayka 69de665a62 Add GeneratorFunction test 2020-04-26 16:19:25 -04:00
Alexey Shvayka 43bc9f1465 Add Function test 2020-04-26 16:19:25 -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
Shu-yu Guo 76b38918a8 Correctly tag AggregateError proto-from-ctor-realm test 2020-04-25 18:51:44 -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
Alexey Shvayka 39ed5d9d68 Add object rest destructuring test 2020-04-25 18:45:48 -04:00
Alexey Shvayka b08380c723 Add object spread test 2020-04-25 18:45:48 -04:00
Alexey Shvayka c9ce3be95d Add Object.seal test 2020-04-25 18:45:48 -04:00
Alexey Shvayka feaa555fc3 Add Object.isSealed test 2020-04-25 18:45:48 -04:00
Alexey Shvayka a65d0bfb42 Add Object.isFrozen test 2020-04-25 18:45:48 -04:00
Alexey Shvayka 521446b36b Add Object.freeze test 2020-04-25 18:45:48 -04:00
Alexey Shvayka 07ff2ffa4a Add Object.defineProperties test 2020-04-25 18:45:48 -04:00
Alexey Shvayka 56cbc61e42 Add Object.getOwnPropertyDescriptors test 2020-04-25 18:45:48 -04:00
Alexey Shvayka 2183fa7e4e Add Object.assign test 2020-04-25 18:45:48 -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
Alexey Shvayka 7a4b88e446 Add `null` named capture coercion test case 2020-04-23 10:48:48 -04:00
Alexey Shvayka 6de6484e21 Add functional replacement test 2020-04-23 10:48:48 -04:00
Alexey Shvayka a6f3449cd8 Add string replacement test 2020-04-23 10:48:48 -04:00
Alexey Shvayka eca34edd7e Drop "the" and align license headers 2020-04-23 10:48:16 -04:00
Alexey Shvayka 34b2ab340c Use non ID_Continue characters in negative tests 2020-04-23 10:48:16 -04:00
Alexey Shvayka 89bb1b79e8 Remove negative parse tests that are now valid 2020-04-23 10:48:16 -04:00
Alexey Shvayka 3b5845afe7 Add invalid non-Unicode test 2020-04-23 10:48:16 -04:00
Alexey Shvayka b0995ea174 Add invalid Unicode test 2020-04-23 10:48:16 -04:00
Alexey Shvayka fd18971545 Add valid non-Unicode test 2020-04-23 10:48:16 -04:00
Alexey Shvayka 1991c24d91 Add valid Unicode test 2020-04-23 10:48:16 -04:00
Ross Kirsling d57bd9d4bd Simplify alphanum regex in testIntl.js 2020-04-23 10:47:32 -04:00
Frank Yung-Fong Tang 064d3c24e3 correct exceptions for exceptZero 2020-04-23 10:46:27 -04:00