Merge pull request #1948 from leobalter/fix-test-gen

Update generated tests
This commit is contained in:
Leo Balter 2018-11-15 08:51:00 -05:00 committed by GitHub
commit c7a1edb036
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
125 changed files with 125 additions and 125 deletions

View File

@ -25,6 +25,6 @@ negative:
type: SyntaxError
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
with (/*{ import }*/) {}

View File

@ -30,6 +30,6 @@ negative:
features: [dynamic-import]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
im\u0070ort('./empty_FIXTURE.js');

View File

@ -41,6 +41,6 @@ negative:
features: [dynamic-import]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
import('')++

View File

@ -43,6 +43,6 @@ negative:
features: [dynamic-import]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
import('') -= 1;

View File

@ -43,6 +43,6 @@ negative:
features: [dynamic-import]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
import('') <<= 1;

View File

@ -43,6 +43,6 @@ negative:
features: [dynamic-import]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
import('') >>= 1;

View File

@ -43,6 +43,6 @@ negative:
features: [dynamic-import]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
import('') >>>= 1;

View File

@ -43,6 +43,6 @@ negative:
features: [dynamic-import]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
import('') &= 1;

View File

@ -43,6 +43,6 @@ negative:
features: [dynamic-import]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
import('') ^= 1;

View File

@ -43,6 +43,6 @@ negative:
features: [dynamic-import]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
import('') |= 1;

View File

@ -43,6 +43,6 @@ negative:
features: [dynamic-import]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
import('') **= 1;

View File

@ -41,6 +41,6 @@ negative:
features: [dynamic-import]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
import('')--

View File

@ -41,6 +41,6 @@ negative:
features: [dynamic-import]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
++import('')

View File

@ -41,6 +41,6 @@ negative:
features: [dynamic-import]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
--import('')

View File

@ -43,6 +43,6 @@ negative:
features: [dynamic-import]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
import('') = 1;

View File

@ -43,6 +43,6 @@ negative:
features: [dynamic-import]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
import('') *= 1;

View File

@ -43,6 +43,6 @@ negative:
features: [dynamic-import]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
import('') /= 1;

View File

@ -43,6 +43,6 @@ negative:
features: [dynamic-import]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
import('') %= 1;

View File

@ -43,6 +43,6 @@ negative:
features: [dynamic-import]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
import('') += 1;

View File

@ -28,7 +28,7 @@ info: |
import( AssignmentExpression[+In, ?Yield] )
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
with (import()) {}

View File

@ -31,6 +31,6 @@ info: |
import( AssignmentExpression[+In, ?Yield] )
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
with (new import('')) {}

View File

@ -36,6 +36,6 @@ info: |
... AssignmentExpression
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
with (import(...[''])) {}

View File

@ -32,6 +32,6 @@ info: |
- ImportCall must not be extended.
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
with (import('', '')) {}

View File

@ -32,6 +32,6 @@ info: |
- ImportCall must not be extended.
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
with (import('',)) {}

View File

@ -29,6 +29,6 @@ negative:
features: [import.meta]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
im\u0070ort.meta;

View File

@ -29,6 +29,6 @@ negative:
features: [import.meta]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
import.m\u0065ta;

View File

@ -13,6 +13,6 @@ negative:
features: [import.meta]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
import.meta;

View File

@ -26,6 +26,6 @@ negative:
features: [import.meta, destructuring-assignment]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
[import.meta] = [];

View File

@ -26,6 +26,6 @@ negative:
features: [import.meta, destructuring-assignment]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
[...import.meta] = [];

View File

@ -26,6 +26,6 @@ negative:
features: [import.meta]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
import.meta = 0;

View File

@ -25,7 +25,7 @@ negative:
features: [import.meta, async-iteration]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
async function* f() {
for await (import.meta of null) ;

View File

@ -25,6 +25,6 @@ negative:
features: [import.meta]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
for (import.meta in null) ;

View File

@ -25,6 +25,6 @@ negative:
features: [import.meta]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
for (import.meta of null) ;

View File

@ -26,6 +26,6 @@ negative:
features: [import.meta, destructuring-assignment]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
({a: import.meta} = {});

View File

@ -26,6 +26,6 @@ negative:
features: [import.meta, destructuring-assignment, object-rest]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
({...import.meta} = {});

View File

@ -27,6 +27,6 @@ negative:
features: [import.meta]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
import.meta++;

View File

@ -15,6 +15,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<a>a)\k<ab>/u;

View File

@ -15,6 +15,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<a>a)\k<ab>/;

View File

@ -15,6 +15,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<ab>a)\k<a>/u;

View File

@ -15,6 +15,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<ab>a)\k<a>/;

View File

@ -15,6 +15,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/\k<a>(?<ab>a)/u;

View File

@ -15,6 +15,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/\k<a>(?<ab>a)/;

View File

@ -15,6 +15,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/\k<a>(?<b>x)/;

View File

@ -15,6 +15,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<a>.)\k<b>/u;

View File

@ -15,6 +15,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/\k<a>/u;

View File

@ -15,6 +15,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<a>.)\k<b>/;

View File

@ -13,6 +13,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<a>a)(?<b>b)(?<a>a)/u;

View File

@ -13,6 +13,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<a>a)(?<b>b)(?<a>a)/;

View File

@ -13,6 +13,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<a>a)(?<a>a)/u;

View File

@ -13,6 +13,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<a>a)(?<a>a)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<>a)/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<>a)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<a>\a)/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<a>.)\k<a/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<a>.)\k<a/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<a>.)\k<>/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<a>.)\k<>/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/\k<a(?<a>a)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/\k<a(?<a>.)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/\k(?<a>.)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<a>.)\k/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/\k<>/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/\k/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/\k<a/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<a>.)\k/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<a\>.)/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<a\>.)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<$𐒤>a)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<𐒤>a)/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<𐒤>a)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<a\uD801\uDCA4>.)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<a\uD801>.)/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<a\uD801>.)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<a\uDCA4>.)/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<a\uDCA4>.)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<a\u{104A4}>.)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<a\u{10FFFF}>.)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<\>.)/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<\>.)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<a\u{110000}>.)/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<❤>a)/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<❤>a)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<42a>a)/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<42a>a)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<:a>a)/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<:a>a)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<a:>a)/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<a:>a)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<\u{03C0}>a)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<\u{0041}>.)/;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<aa)/u;

View File

@ -10,6 +10,6 @@ negative:
features: [regexp-named-groups]
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
/(?<aa)/;

View File

@ -12,7 +12,7 @@ negative:
type: SyntaxError
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
function f() {
for (var arguments = 42 in null) {}

View File

@ -12,7 +12,7 @@ negative:
type: SyntaxError
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
function f() {
for (var arguments in null) {}

View File

@ -12,6 +12,6 @@ negative:
type: SyntaxError
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
for (var arguments = 42 in null) {}

View File

@ -10,6 +10,6 @@ negative:
type: SyntaxError
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
for (var arguments in null) {}

View File

@ -10,6 +10,6 @@ negative:
type: SyntaxError
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
for (var eval = 42 in null) {}

View File

@ -10,6 +10,6 @@ negative:
type: SyntaxError
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
for (var eval in null) {}

View File

@ -13,7 +13,7 @@ negative:
type: SyntaxError
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
function f() {
var a, arguments = 42;

View File

@ -13,7 +13,7 @@ negative:
type: SyntaxError
---*/
throw "Test262: This statement should not be evaluated.";
$DONOTEVALUATE();
function f() {
var a = 42, arguments;

Some files were not shown because too many files have changed in this diff Show More