578 Commits

Author SHA1 Message Date
Leo Balter
f7f845ce6f Update tests with DONOTEVALUATE 2018-11-14 09:19:15 -05:00
Leo Balter
238c88d4a0 Generate tests 2018-11-13 20:21:32 -05:00
Leo Balter
10dc6ff75a Generate tests 2018-11-13 20:21:32 -05:00
Leo Balter
50601e7aad Generate tests 2018-11-13 20:21:32 -05:00
Leo Balter
dec4e5df74
Merge pull request #1801 from mathiasbynens/issue-1634
Move `throw "…"` for negative parsing errors to a helper function
2018-11-13 17:23:09 -05:00
Adrian Heine
4f085d7b8f Fix typo (disinct -> distinct) 2018-11-10 10:50:21 +01:00
Leo Balter
ab540afaa1 Generate tests 2018-11-07 18:14:37 -05:00
Adrian Heine né Lang
19fa24ee91 Remove wrong feature tag (#1932) 2018-11-07 16:05:20 -05:00
Leo Balter
053aed901a Regenerate tests 2018-11-06 10:35:22 -05:00
Katie Broida
f11d0ab3d5 Fix class syntax 2018-11-06 10:35:22 -05:00
Katie Broida
9ccf0a822f Generate tests 2018-11-06 10:35:22 -05:00
Leo Balter
69c1efd325 Generate tests 2018-11-05 12:17:14 -05:00
Leo Balter
ecb5fcbe33
Merge pull request #1840 from jugglinmike/refactor-for-parsers-var
Refactor variable declaration tests for parsers
2018-11-05 10:12:24 -05:00
Mike Pennisi
a7deb7bcce Add tests for arguments within function body 2018-10-28 16:23:38 -04:00
Rick Waldron
f1e362d558 Fix typos; generate tests (#1907) 2018-10-26 17:11:05 -04:00
Kubilay Kahveci
b7fb4ade5e Generate tests 2018-10-26 15:12:43 -04:00
Mathias Bynens
8869799c6d Rebase, regenerate, and update tests 2018-10-23 13:51:17 +02: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
Rick Waldron
3bcb28e918 Generate tests 2018-10-15 12:43:16 -04:00
Mike Pennisi
aac38cb368 Normalize coverage for var declarations
Add tests to mirror similar tests which were authored previously.
2018-10-07 16:49:50 -04:00
Mike Pennisi
b819c597ab Remove redundant test
This behavior is covered by another test in this directory:
`arguments-strict-single.js`. Although the syntax error happens to occur
within the body of a function expression, this distinction is not
significant enough to warrant the test's presence nor does it motivate
the introduction of many similar negative syntax tests which are
currently unavailable.
2018-10-07 16:49:49 -04:00
Mike Pennisi
6b00c8fbfe Rename and refactor tests
The tests for the parsing of variable declarations 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-10-07 16:49:49 -04:00
Mike Pennisi
ceb79988ae Relocate and refactor tests
The tests for the parsing of `for/in` loops 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. Move the tests to the `for-in` directory to better reflect
the grammar production that they test.
2018-10-07 16:48:42 -04:00
Mike Pennisi
835c202b36 Remove redundant and irrelevant tests
Two tests placed within the "variable" directory do not include a variable
declaration. Because the behavior they assert is covered by an existing
test (test/language/arguments-object/10.5-1gs.js), they may be removed
without reducing coverage.
2018-10-07 16:43:08 -04:00
Timothy Gu
140d922d4c Add async-functions feature to more files (#1830) 2018-10-05 10:37:21 -04:00
Leo Balter
754fe94c5d fixup! Generate tests 2018-10-04 16:21:11 -04:00
Rick Waldron
a7ba033337 Generate tests 2018-10-04 16:21:11 -04:00
Leo Balter
5896ba49be Generate tests 2018-10-04 10:32:01 -04:00
Leo Balter
46fcbf81d1 Generate tests 2018-09-26 09:18:46 -04:00
Kubilay Kahveci
395adc3a7c Generate tests 2018-09-18 14:16:20 -04:00
Leo Balter
317cacdcc9 Fix test generation 2018-09-13 14:55:32 -04:00
Rick Waldron
5c02a094cb Generate tests 2018-09-13 10:23:49 -04:00
Rick Waldron
6bedd8f1c6
Merge pull request #1717 from leobalter/1711-fixes
Apply fixes on recent class element tests
2018-09-11 11:22:43 -04:00
Rick Waldron
2c714ede1d
Merge pull request #1719 from leobalter/private-fields-methods-whitespace-syntax-error
Private fields and methods whitespace syntax error
2018-09-11 11:20:44 -04:00
Leo Balter
a17484e230 Generate Tests 2018-09-10 17:13:06 -04:00
Leo Balter
b056d138fa generate tests 2018-09-10 14:15:40 -04:00
Leo Balter
5cdbf084a7 Generate tests 2018-09-10 14:13:39 -04:00
Rick Waldron
6aa46d0ddb
Merge pull request #1707 from leobalter/private-methods-args
Add class private methods (include static) to arguments templates
2018-09-10 11:57:40 -04:00
Leo Balter
a9837df144 Generate tests 2018-09-10 11:20:40 -04:00
Leo Balter
e28a6f37d0 remove old duplicates 2018-09-10 11:20:40 -04:00
Leo Balter
7766d0fb66 Generate tests 2018-09-10 11:20:40 -04:00
Leo Balter
94a40cb474 Generate tests 2018-09-10 11:20:40 -04:00
Leo Balter
8524805f25 Final cases to move to tests generation 2018-09-10 11:20:40 -04:00
Leo Balter
bcfc576af4 Generate tests 2018-09-10 11:20:40 -04:00
Leo Balter
daea4efc57 Generate tests 2018-09-10 11:20:40 -04:00
Leo Balter
20217a7eeb add cases for static method names named prototype 2018-09-10 11:20:40 -04:00
Leo Balter
ef591384d8 Remove old duplicate tests 2018-09-10 11:20:40 -04:00
Leo Balter
ee9739c699 Generate tests 2018-09-10 11:20:40 -04:00
Leo Balter
af9bcfef5f Generate tests 2018-09-10 11:20:40 -04:00