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()
---*/
//- params
//- import
import()
//- teardown
/* The params region intentionally empty */

View File

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

View File

@ -28,4 +28,4 @@ negative:
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.";
let f = () => {
import(/*{ params }*/);
/*{ import }*/;
};

View File

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

View File

@ -29,6 +29,6 @@ negative:
throw "Test262: This statement should not be evaluated.";
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.";
async function f() {
import(/*{ params }*/);
/*{ import }*/;
}

View File

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

View File

@ -29,5 +29,5 @@ negative:
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.";
do {
import(/*{ params }*/);
/*{ import }*/;
} while (false);

View File

@ -31,5 +31,5 @@ throw "Test262: This statement should not be evaluated.";
let x = 0;
do {
x++;
import(/*{ params }*/);
/*{ import }*/;
} while (!x);

View File

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

View File

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

View File

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

View File

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

View File

@ -28,4 +28,4 @@ negative:
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.";
if (true) {
import(/*{ params }*/);
/*{ import }*/;
}

View File

@ -29,5 +29,5 @@ negative:
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;
while (!x) {
x++;
import(/*{ params }*/);
/*{ import }*/;
};

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -24,5 +24,5 @@ features: [dynamic-import]
---*/
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 {
import(/*{ params }*/);
/*{ import }*/;
} while (false);

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -24,5 +24,5 @@ features: [dynamic-import]
---*/
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;
while (!x) {
x++;
import(/*{ params }*/);
/*{ import }*/;
};

View File

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