Commit Graph

2464 Commits

Author SHA1 Message Date
Leo Balter e8305a7920 Regenerate tests 2018-10-04 16:16:35 -04:00
Leo Balter 24d1a78015 fix folders to fixtures 2018-10-04 16:16:35 -04:00
Leo Balter bc13b8a7c1 Regenerate tests 2018-10-04 16:16:35 -04:00
Leo Balter fdcb06e093 move catch tests to a separate folder 2018-10-04 16:16:35 -04:00
Leo Balter 6150f24d25 Regenerate tests 2018-10-04 16:16:35 -04:00
Rick Waldron 90e69a3b59 Dynamic Imports: eval export default class imports 2018-10-04 16:16:35 -04:00
Rick Waldron a3eef3f39f Generate tests 2018-10-04 16:16:35 -04:00
Rick Waldron c77078809c Dynamic Imports: initial cases, templates, non-generated tests and fixtures 2018-10-04 16:16:35 -04:00
Ujjwal Sharma f8e0bf6751 intl: fix dicey test case 2018-10-04 14:30:22 -04:00
Leo Balter 5896ba49be Generate tests 2018-10-04 10:32:01 -04:00
Ujjwal Sharma ff8b10c448 intl: increase coverage for the Intl.NumberFormat constructor
Increase coverge for the Intl.NumberFormat constructor by testing that
Get(O, P) and ToString(arg) are properly called.
2018-10-03 17:32:33 -04:00
Leo Balter 48cf391412
Revert "Fix "undefiend" typo in unreserved-words.js (#1816)" (#1819)
This reverts commit 7e65999731.
2018-10-03 17:11:05 -04:00
Andrew McCreight 7e65999731 Fix "undefiend" typo in unreserved-words.js (#1816)
I'm not an expert on this, but I'm pretty sure this is supposed to be "undefined" not "undefiend".
2018-10-03 15:14:41 -04:00
Frank Tang a1c3929c35 remove "invalid" from invalid date of "cu" and "nu" 2018-10-03 13:22:29 -04:00
Ujjwal Sharma 041d5acd5e Update test to actually check properties 2018-10-03 13:13:58 -04:00
Ujjwal Sharma de416c28c3 intl: increase coverage from the NumberFormat constructor
Improve coverage for the Intl.NumberFormat constructor by testing that
it accepts Array-like objects and handles them properly.
2018-10-03 13:13:58 -04:00
Ujjwal Sharma cd55e30938 Update test to actually check properties 2018-10-03 11:07:06 -04:00
Ujjwal Sharma af0f53bb40 intl: increase coverage for the NumberFormat constructor
Increase coverage for the Intl.NumberFormat constructor by testing that
passing a string value to the Intl.NumberFormat constructor is
equivalent to passing an Array containing the same string value.
2018-10-03 11:07:06 -04:00
Richard Gibson e064fcd7ce Remove redundant JSON test 2018-10-03 11:06:32 -04:00
Richard Gibson 58e308753c Fix grammar in JSON.stringify tests 2018-10-03 11:06:32 -04:00
Richard Gibson d961fcc905 Add feature for well-formed-stringify tests 2018-10-03 11:06:32 -04:00
Richard Gibson ce967f7a86 Add tests for proposal-well-formed-stringify
* unpaired surrogate escape sequences
2018-10-03 11:06:32 -04:00
Richard Gibson 783fc5d8bb Remove redundant test 2018-10-03 11:06:32 -04:00
Richard Gibson d6e83453b2 Simplify and improve control character escaping tests 2018-10-03 11:06:32 -04:00
Richard Gibson 61fdc701fa Remove duplicate test 2018-10-03 11:06:32 -04:00
Richard Gibson 950d58a7ca Improve test description grammar 2018-10-03 11:06:32 -04:00
Rick Waldron 6581e84949 Intl.Locale: constructor-options-*.js fixups (#1798) 2018-10-03 10:24:38 -04:00
Rick Waldron 0ead0130ea Intl.NumberFormat: cannot use assert.sameValue to compare object references. 2018-10-02 15:03:52 -04:00
Ujjwal Sharma bba2429cad intl: increase coverage for NumberFormat constructor
Increase coverage for the Intl.NumberFormat constructor by adding tests
checking if appropriate default values are used.
2018-10-02 14:51:22 -04:00
Frank Tang 5de1831c48 Remove "ar-ma-u-ca-islamicc" test 2018-10-02 14:50:45 -04:00
Ujjwal Sharma e9946587b9 Update test to include object and symbol 2018-10-02 14:49:00 -04:00
Ujjwal Sharma bb7585bdaf intl: increase coverage for NumberFormat constructor
Increase coverage for the Intl.NumberFormat class contructor by adding
tests for checking that it calls ToObject on the options argument.
2018-10-02 14:49:00 -04:00
Ujjwal Sharma 24386286f1 Update filenames and fix failures 2018-10-02 14:48:37 -04:00
Ujjwal Sharma 2ecd230b63 Update test to include object and symbol 2018-10-02 14:48:37 -04:00
Ujjwal Sharma 5fe9773f44 intl: increase coverage for NumberFormat constructor
Increase coverage for the Intl.NumberFormat class contructor by adding
tests for checking that it calls ToObject on the locales argument.
2018-10-02 14:48:37 -04:00
Ujjwal Sharma 5fae9deb1f intl: rework Intl.NumberFormat.prototype.formatToParts tests
Rework the available tests for Intl.NumberFormat.prototype.formatToParts
to improve consistency and readability.
2018-09-27 11:03:16 -04:00
Ujjwal Sharma 41bf0ee344 intl: add assertion to test that the result for default parameter
Add an assertion to the test for default parameters in Intl.NumberFormat's
method formatToParts checking that both the values are equal to the correct
result.
2018-09-27 11:00:55 -04:00
Leo Balter d544eacedf
assert calls order for Symbol.match on matchAll usage (#1795)
Fix #1794
2018-09-26 11:37:19 -04:00
Rick Waldron 37190a1deb Intl.Locale.prototype.numeric: the feature is not optional, therefore the tests are not optional 2018-09-26 11:06:03 -04:00
Ms2ger 584b651edf Intl.Locale: Expect boolean values from the numeric getter.
The spec changed in <https://github.com/tc39/proposal-intl-locale/pull/59>.
2018-09-26 11:03:22 -04:00
Ms2ger 5b0f7e19db Intl.Locale: Refactor the tests for the numeric option. 2018-09-26 11:02:40 -04:00
André Bargull 3a1bcae4d1 Expect leading sign when the input is negative zero 2018-09-26 10:38:35 -04:00
André Bargull d9f67d53d1 Move the extra precision tests into separate files
This will allow implementations to test the rest of the number formatting tests,
even if the extra precision support isn't implemented.
2018-09-26 10:38:35 -04:00
André Bargull 4bc96880a1 Add missing explicit ToString conversion for symbol values and ensure the expected NaN result is a (locale-dependent) string 2018-09-26 10:38:35 -04:00
André Bargull 3febd4c536 Update matchAll tests to reflect latest spec proposal 2018-09-26 10:38:35 -04:00
Leo Balter 46fcbf81d1 Generate tests 2018-09-26 09:18:46 -04:00
jugglinmike 42ed4291f5 Refactor increment/decrement tests for parsers (#1786)
The tests for the parsing of postfix increment, postfix decrement,
prefix increment, and prefix decrement were expressed using `eval`.
This made the tests more complex than necessary and also prevented the
tests from providing value to ECMAScript parsers.

Remove the use of `eval` and instead express the expectations with
literal source text.
2018-09-24 12:29:30 -04:00
Kevin Gibbons 89ec038cf2 remove some trailing commas in calls 2018-09-21 10:04:33 -04:00
Ujjwal Sharma cdd91e2895 Improve ToNumber test for NumberFormat.format 2018-09-20 17:25:14 -04:00
Ujjwal Sharma 7a87bde265 intl: increase coverage for NumberFormat.format
Increase test coverage for Intl.NumberFormat.prototype.format by adding
a check for testing if it calls ToNumber (7.1.3) on its argument.
2018-09-20 17:25:14 -04:00