Update tests with DONOTEVALUATE

This commit is contained in:
Leo Balter 2018-11-13 17:48:29 -05:00
parent 238c88d4a0
commit f7f845ce6f
119 changed files with 119 additions and 119 deletions

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

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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