test262/test/language/statements
Mike Pennisi 74de3d1d32 Correct spurious syntax errors
Prior to this commit, two tests for specific early errors also included
syntactically invalid `const` declarations. Implementations which
produced the expected syntax error due to these invalid declarations
would pass the tests regardless of whether they produced the early
errors that the tests were written to verify.

Correct the `const` declarations so that the tests verify the parsing
rule that they were designed to verify.
2022-06-17 10:29:52 +02:00
..
async-function Update "info" field (#2941) 2021-01-28 16:03:01 -08:00
async-generator Generate tests 2021-10-01 16:38:56 -04:00
block Add test for normative change to BlockStatement 2021-09-07 17:50:02 -04:00
break chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
class add noStrict flag to yield-as-binding-id cases (#3551) 2022-06-09 09:01:21 +02:00
const Add tests for "Class Static Init. Blocks" proposal (#2968) 2021-07-15 08:49:12 -04:00
continue chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
debugger
do-while chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
empty
expression chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
for Correct spurious syntax errors 2022-06-17 10:29:52 +02:00
for-await-of Generate tests 2021-07-22 15:31:36 -04:00
for-in Update S12.6.4_A7_T2.js 2022-05-05 10:19:37 -07:00
for-of Remove unused functions 2021-10-13 14:18:32 -04:00
function chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
generators Generate tests 2021-10-01 16:38:56 -04:00
if chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
labeled chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
let Add tests for "Class Static Init. Blocks" proposal (#2968) 2021-07-15 08:49:12 -04:00
return chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
switch chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
throw Improve coverage for ops involving negative zero 2021-09-16 16:35:41 -04:00
try Improve coverage for ops involving negative zero 2021-09-16 16:35:41 -04:00
variable chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
while chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00
with chore: migrate $ERROR -> throw new Test262Error in test/language/s* 2021-07-29 10:38:53 -04:00