Skip to content
Snippets Groups Projects
Commit e116ccff authored by Leo Balter's avatar Leo Balter Committed by Rick Waldron
Browse files

Improve case clarify for syntax templates

parent d16874c2
No related branches found
No related tags found
No related merge requests found
Showing
with 22 additions and 22 deletions
...@@ -9,7 +9,7 @@ info: | ...@@ -9,7 +9,7 @@ info: |
import() import()
---*/ ---*/
//- params //- import
import()
//- teardown //- teardown
/* The params region intentionally empty */ /* The params region intentionally empty */
...@@ -6,5 +6,5 @@ desc: Calling import('') ...@@ -6,5 +6,5 @@ desc: Calling import('')
template: syntax/valid template: syntax/valid
---*/ ---*/
//- params //- import
'' import('')
...@@ -28,4 +28,4 @@ negative: ...@@ -28,4 +28,4 @@ negative:
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";
let f = () => import(/*{ params }*/); let f = () => /*{ import }*/;
...@@ -29,5 +29,5 @@ negative: ...@@ -29,5 +29,5 @@ negative:
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";
let f = () => { let f = () => {
import(/*{ params }*/); /*{ import }*/;
}; };
...@@ -29,5 +29,5 @@ negative: ...@@ -29,5 +29,5 @@ negative:
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";
async function f() { async function f() {
await import(/*{ params }*/); await /*{ import }*/;
} }
...@@ -29,6 +29,6 @@ negative: ...@@ -29,6 +29,6 @@ negative:
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";
async function f() { async function f() {
return await import(/*{ params }*/); return await /*{ import }*/;
} }
...@@ -29,6 +29,6 @@ negative: ...@@ -29,6 +29,6 @@ negative:
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";
async function f() { async function f() {
import(/*{ params }*/); /*{ import }*/;
} }
...@@ -29,5 +29,5 @@ negative: ...@@ -29,5 +29,5 @@ negative:
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";
label: { label: {
import(/*{ params }*/); /*{ import }*/;
}; };
...@@ -29,5 +29,5 @@ negative: ...@@ -29,5 +29,5 @@ negative:
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";
{ {
import(/*{ params }*/); /*{ import }*/;
}; };
...@@ -29,5 +29,5 @@ negative: ...@@ -29,5 +29,5 @@ negative:
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";
do { do {
import(/*{ params }*/); /*{ import }*/;
} while (false); } while (false);
...@@ -31,5 +31,5 @@ throw "Test262: This statement should not be evaluated."; ...@@ -31,5 +31,5 @@ throw "Test262: This statement should not be evaluated.";
let x = 0; let x = 0;
do { do {
x++; x++;
import(/*{ params }*/); /*{ import }*/;
} while (!x); } while (!x);
...@@ -30,4 +30,4 @@ throw "Test262: This statement should not be evaluated."; ...@@ -30,4 +30,4 @@ throw "Test262: This statement should not be evaluated.";
if (false) { if (false) {
} else import(/*{ params }*/); } else /*{ import }*/;
...@@ -31,5 +31,5 @@ throw "Test262: This statement should not be evaluated."; ...@@ -31,5 +31,5 @@ throw "Test262: This statement should not be evaluated.";
if (false) { if (false) {
} else { } else {
import(/*{ params }*/); /*{ import }*/;
} }
...@@ -29,5 +29,5 @@ negative: ...@@ -29,5 +29,5 @@ negative:
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";
function fn() { function fn() {
return import(/*{ params }*/); return /*{ import }*/;
} }
...@@ -29,5 +29,5 @@ negative: ...@@ -29,5 +29,5 @@ negative:
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";
function fn() { function fn() {
import(/*{ params }*/); /*{ import }*/;
} }
...@@ -28,4 +28,4 @@ negative: ...@@ -28,4 +28,4 @@ negative:
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";
if (true) import(/*{ params }*/); if (true) /*{ import }*/;
...@@ -29,5 +29,5 @@ negative: ...@@ -29,5 +29,5 @@ negative:
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";
if (true) { if (true) {
import(/*{ params }*/); /*{ import }*/;
} }
...@@ -29,5 +29,5 @@ negative: ...@@ -29,5 +29,5 @@ negative:
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";
{ {
import(/*{ params }*/); /*{ import }*/;
}; };
...@@ -31,5 +31,5 @@ throw "Test262: This statement should not be evaluated."; ...@@ -31,5 +31,5 @@ throw "Test262: This statement should not be evaluated.";
let x = 0; let x = 0;
while (!x) { while (!x) {
x++; x++;
import(/*{ params }*/); /*{ import }*/;
}; };
...@@ -18,4 +18,4 @@ negative: ...@@ -18,4 +18,4 @@ negative:
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";
import(/*{ params }*/); /*{ 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