Improve case clarify for syntax templates

This commit is contained in:
Leo Balter 2018-10-02 14:32:32 -04:00 committed by Rick Waldron
parent d16874c264
commit e116ccff0c
38 changed files with 40 additions and 40 deletions

View File

@ -9,7 +9,7 @@ info: |
import() import()
---*/ ---*/
//- params //- import
import()
//- teardown //- teardown
/* The params region intentionally empty */ /* The params region intentionally empty */

View File

@ -6,5 +6,5 @@ desc: Calling import('')
template: syntax/valid template: syntax/valid
---*/ ---*/
//- params //- import
'' import('')

View File

@ -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 }*/;

View File

@ -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 }*/;
}; };

View File

@ -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 }*/;
} }

View File

@ -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 }*/;
} }

View File

@ -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 }*/;
} }

View File

@ -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 }*/;
}; };

View File

@ -29,5 +29,5 @@ negative:
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";
{ {
import(/*{ params }*/); /*{ import }*/;
}; };

View File

@ -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);

View File

@ -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);

View File

@ -30,4 +30,4 @@ throw "Test262: This statement should not be evaluated.";
if (false) { if (false) {
} else import(/*{ params }*/); } else /*{ import }*/;

View File

@ -31,5 +31,5 @@ throw "Test262: This statement should not be evaluated.";
if (false) { if (false) {
} else { } else {
import(/*{ params }*/); /*{ import }*/;
} }

View File

@ -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 }*/;
} }

View File

@ -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 }*/;
} }

View File

@ -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 }*/;

View File

@ -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 }*/;
} }

View File

@ -29,5 +29,5 @@ negative:
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";
{ {
import(/*{ params }*/); /*{ import }*/;
}; };

View File

@ -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 }*/;
}; };

View File

@ -18,4 +18,4 @@ negative:
throw "Test262: This statement should not be evaluated."; throw "Test262: This statement should not be evaluated.";
import(/*{ params }*/); /*{ import }*/;

View File

@ -23,4 +23,4 @@ flags: [module]
features: [dynamic-import] features: [dynamic-import]
---*/ ---*/
let f = () => import(/*{ params }*/); let f = () => /*{ import }*/;

View File

@ -24,5 +24,5 @@ features: [dynamic-import]
---*/ ---*/
let f = () => { let f = () => {
import(/*{ params }*/); /*{ import }*/;
}; };

View File

@ -24,5 +24,5 @@ features: [dynamic-import]
---*/ ---*/
async function f() { async function f() {
await import(/*{ params }*/); await /*{ import }*/;
} }

View File

@ -24,6 +24,6 @@ features: [dynamic-import]
---*/ ---*/
async function f() { async function f() {
return await import(/*{ params }*/); return await /*{ import }*/;
} }

View File

@ -24,6 +24,6 @@ features: [dynamic-import]
---*/ ---*/
async function f() { async function f() {
import(/*{ params }*/); /*{ import }*/;
} }

View File

@ -24,5 +24,5 @@ features: [dynamic-import]
---*/ ---*/
label: { label: {
import(/*{ params }*/); /*{ import }*/;
}; };

View File

@ -24,5 +24,5 @@ features: [dynamic-import]
---*/ ---*/
{ {
import(/*{ params }*/); /*{ import }*/;
}; };

View File

@ -24,5 +24,5 @@ features: [dynamic-import]
---*/ ---*/
do { do {
import(/*{ params }*/); /*{ import }*/;
} while (false); } while (false);

View File

@ -25,5 +25,5 @@ features: [dynamic-import]
let x = 0; let x = 0;
do { do {
x++; x++;
import(/*{ params }*/); /*{ import }*/;
} while (!x); } while (!x);

View File

@ -25,4 +25,4 @@ features: [dynamic-import]
if (false) { if (false) {
} else import(/*{ params }*/); } else /*{ import }*/;

View File

@ -26,5 +26,5 @@ features: [dynamic-import]
if (false) { if (false) {
} else { } else {
import(/*{ params }*/); /*{ import }*/;
} }

View File

@ -24,5 +24,5 @@ features: [dynamic-import]
---*/ ---*/
function fn() { function fn() {
return import(/*{ params }*/); return /*{ import }*/;
} }

View File

@ -24,5 +24,5 @@ features: [dynamic-import]
---*/ ---*/
function fn() { function fn() {
import(/*{ params }*/); /*{ import }*/;
} }

View File

@ -23,4 +23,4 @@ info: |
features: [dynamic-import] features: [dynamic-import]
---*/ ---*/
if (true) import(/*{ params }*/); if (true) /*{ import }*/;

View File

@ -24,5 +24,5 @@ features: [dynamic-import]
---*/ ---*/
if (true) { if (true) {
import(/*{ params }*/); /*{ import }*/;
} }

View File

@ -24,5 +24,5 @@ features: [dynamic-import]
---*/ ---*/
{ {
import(/*{ params }*/); /*{ import }*/;
}; };

View File

@ -26,5 +26,5 @@ features: [dynamic-import]
let x = 0; let x = 0;
while (!x) { while (!x) {
x++; x++;
import(/*{ params }*/); /*{ import }*/;
}; };

View File

@ -13,4 +13,4 @@ flags: [module]
features: [dynamic-import] features: [dynamic-import]
---*/ ---*/
import(/*{ params }*/); /*{ import }*/;