Skip to content
Snippets Groups Projects
Commit 8869799c authored by Mathias Bynens's avatar Mathias Bynens
Browse files

Rebase, regenerate, and update tests

parent c59f671b
No related branches found
No related tags found
No related merge requests found
Showing
with 20 additions and 20 deletions
......@@ -24,6 +24,6 @@ negative:
type: SyntaxError
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
let f = () => /*{ import }*/;
......@@ -24,7 +24,7 @@ negative:
type: SyntaxError
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
let f = () => {
/*{ import }*/;
......
......@@ -23,7 +23,7 @@ negative:
type: SyntaxError
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
(async () => {
await /*{ import }*/
......
......@@ -23,6 +23,6 @@ negative:
type: SyntaxError
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
(async () => await /*{ import }*/)
......@@ -24,7 +24,7 @@ negative:
type: SyntaxError
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
async function f() {
await /*{ import }*/;
......
......@@ -24,7 +24,7 @@ negative:
type: SyntaxError
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
async function f() {
return await /*{ import }*/;
......
......@@ -24,7 +24,7 @@ negative:
type: SyntaxError
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
async function f() {
/*{ import }*/;
......
......@@ -23,7 +23,7 @@ negative:
type: SyntaxError
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
async function * f() {
await /*{ import }*/
......
......@@ -24,7 +24,7 @@ negative:
type: SyntaxError
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
label: {
/*{ import }*/;
......
......@@ -24,7 +24,7 @@ negative:
type: SyntaxError
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
{
/*{ import }*/;
......
......@@ -24,7 +24,7 @@ negative:
type: SyntaxError
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
do {
/*{ import }*/;
......
......@@ -24,7 +24,7 @@ negative:
type: SyntaxError
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
if (false) {
......
......@@ -24,7 +24,7 @@ negative:
type: SyntaxError
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
if (false) {
......
......@@ -24,7 +24,7 @@ negative:
type: SyntaxError
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
function fn() {
return /*{ import }*/;
......
......@@ -24,7 +24,7 @@ negative:
type: SyntaxError
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
function fn() {
/*{ import }*/;
......
......@@ -24,6 +24,6 @@ negative:
type: SyntaxError
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
if (true) /*{ import }*/;
......@@ -24,7 +24,7 @@ negative:
type: SyntaxError
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
if (true) {
/*{ import }*/;
......
......@@ -24,7 +24,7 @@ negative:
type: SyntaxError
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
let x = 0;
while (!x) {
......
......@@ -25,7 +25,7 @@ negative:
type: SyntaxError
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
with ({}) {
/*{ import }*/;
......
......@@ -14,6 +14,6 @@ negative:
type: SyntaxError
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/*{ import }*/;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment