17 Commits

Author SHA1 Message Date
Richard Gibson
0100bb21dc Add IsSimpleParameterList spec text to new test cases 2019-07-10 20:13:33 -04:00
Richard Gibson
7f395d6d87 Add tests for array/object destructuring parameter with "use strict" 2019-07-10 19:59:30 -04:00
Richard Gibson
4af2c34eb2 Add tests for rest parameter with "use strict" (expecting syntax error) 2019-07-03 18:54:21 -04:00
Leo Balter
0304c66440 Make the folder names consistent 2018-12-21 15:47:01 -05:00
Leo Balter
b8d43a3982 More reorganization for the class folder 2018-12-21 15:47:01 -05:00
Mathias Bynens
b9daa57dcb Rename to $DONOTEVALUATE per @leobalter's suggestion 2018-10-23 13:51:17 +02:00
Mathias Bynens
e3feffb01e Move throw "…" for negative parsing errors to a helper function
Closes #1634.
2018-10-23 13:51:16 +02:00
Timothy Gu
140d922d4c Add async-functions feature to more files (#1830) 2018-10-05 10:37:21 -04:00
Adrian Heine
2fb8eca677 Fix typo intialize(r) -> initialize(r) 2018-02-12 10:05:52 -05:00
Mike Pennisi
136110378b Rename negative test "phase" for parsing
Early errors may result from parsing the source text of a test file, but
they may also result from parsing some other source text as referenced
through the ES2015 module syntax. The latter form of early error is not
necessarily detectable by ECMAScript parsers, however. Because of this,
the label "early" is not sufficiently precise for all Test262 consumers
to correctly interpret all tests.

Update the "phase" name of "early" to "parse" for all those negative
tests that describe errors resulting from parsing of the file's source
text directly. A forthcoming commit will update the remaining tests to
use a "phase" name that is more specific to module resolution.
2018-01-05 15:17:50 -05:00
Leo Balter
4e191e5b65
Add missing generators flags in templates 2017-10-26 19:04:57 -04:00
Leo Balter
b3092c61b6 Add generators flags for tests depending on generators features (#1259)
* Add missing generators feature flags

* Generate files

* Add generators flags

* fixup! Add generators flags
2017-10-04 16:12:34 -04:00
Mike Pennisi
81d00def42 Force "early error" tests to fail if evaluated
This pattern makes expectations more explicit by making test files more
literal.
2017-06-28 11:24:36 -04:00
Leo Balter
de15143976
Add Async Functions to function templates 2017-04-21 15:24:00 -04:00
Leo Balter
0d08288e4c
Normalize trailing comma cases both for args and parameters 2017-04-21 15:23:57 -04:00
Leo Balter
a6c5bcf81d
Update function forms templates to reflect the params name when appropriate only 2017-04-21 15:03:49 -04:00
Leo Balter
20d496729d
Rename src/params to src/function-forms
The templates are being used for many tests reusing the same available function forms.
The format they are provided allow us to extend tests with cases for other tests relying
in the same formats.
2017-04-21 15:03:46 -04:00