diff --git a/src/statementList/default/block-with-statement.template b/src/statementList/default/block-with-statement.template index 3f914cc8bc..2e592763f8 100644 --- a/src/statementList/default/block-with-statement.template +++ b/src/statementList/default/block-with-statement.template @@ -25,4 +25,4 @@ info: | ---*/ // length is a label! -{length: 3000}/*{ StatementListItem }*/; +{length: 3000}/*{ StatementListItem }*/ diff --git a/src/statementList/default/block.template b/src/statementList/default/block.template index bad9c45aa4..bc18a53971 100644 --- a/src/statementList/default/block.template +++ b/src/statementList/default/block.template @@ -24,4 +24,4 @@ info: | { StatementList_opt } ---*/ -{}/*{ StatementListItem }*/; +{}/*{ StatementListItem }*/ diff --git a/src/statementList/default/class-declaration.template b/src/statementList/default/class-declaration.template index 465d4fe0bb..e55f881312 100644 --- a/src/statementList/default/class-declaration.template +++ b/src/statementList/default/class-declaration.template @@ -19,4 +19,4 @@ info: | features: [class] ---*/ -class C {}/*{ StatementListItem }*/; +class C {}/*{ StatementListItem }*/ diff --git a/src/statementList/default/eval-block-with-statement.template b/src/statementList/default/eval-block-with-statement.template index 6a6d1e7cdb..8dce6be466 100644 --- a/src/statementList/default/eval-block-with-statement.template +++ b/src/statementList/default/eval-block-with-statement.template @@ -25,7 +25,7 @@ info: | ---*/ // length is a label! -var result = eval('{length: 3000}/*{ StatementListItem }*/;'); +var result = eval('{length: 3000}/*{ StatementListItem }*/'); // Reuse this value for items with empty completions var expected = 3000; diff --git a/src/statementList/default/eval-class-declaration.template b/src/statementList/default/eval-class-declaration.template index f93c205303..4475ca8b39 100644 --- a/src/statementList/default/eval-class-declaration.template +++ b/src/statementList/default/eval-class-declaration.template @@ -19,6 +19,6 @@ info: | features: [class] ---*/ -var result = eval('class C {}/*{ StatementListItem }*/;'); +var result = eval('class C {}/*{ StatementListItem }*/'); /*{ EvalAssertions }*/ diff --git a/src/statementList/default/eval-function-declaration.template b/src/statementList/default/eval-function-declaration.template index e109d175fa..440297e368 100644 --- a/src/statementList/default/eval-function-declaration.template +++ b/src/statementList/default/eval-function-declaration.template @@ -21,6 +21,6 @@ info: | function BindingIdentifier ( FormalParameters ) { FunctionBody } ---*/ -var result = eval('function fn() {}/*{ StatementListItem }*/;'); +var result = eval('function fn() {}/*{ StatementListItem }*/'); /*{ EvalAssertions }*/ diff --git a/src/statementList/default/function-declaration.template b/src/statementList/default/function-declaration.template index fe134bd6bc..217905b3ce 100644 --- a/src/statementList/default/function-declaration.template +++ b/src/statementList/default/function-declaration.template @@ -21,4 +21,4 @@ info: | function BindingIdentifier ( FormalParameters ) { FunctionBody } ---*/ -function fn() {}/*{ StatementListItem }*/; +function fn() {}/*{ StatementListItem }*/ diff --git a/test/language/statementList/block-array-literal-with-item.js b/test/language/statementList/block-array-literal-with-item.js index 207f36f143..36e0eb3c44 100644 --- a/test/language/statementList/block-array-literal-with-item.js +++ b/test/language/statementList/block-array-literal-with-item.js @@ -41,4 +41,4 @@ info: | ---*/ -{}[42];; +{}[42]; diff --git a/test/language/statementList/block-array-literal.js b/test/language/statementList/block-array-literal.js index ebf8c727d8..bb0b1d8dd7 100644 --- a/test/language/statementList/block-array-literal.js +++ b/test/language/statementList/block-array-literal.js @@ -41,4 +41,4 @@ info: | ---*/ -{}[];; +{}[]; diff --git a/test/language/statementList/block-arrow-function-assignment-expr.js b/test/language/statementList/block-arrow-function-assignment-expr.js index ee004797a0..ad12d1d20c 100644 --- a/test/language/statementList/block-arrow-function-assignment-expr.js +++ b/test/language/statementList/block-arrow-function-assignment-expr.js @@ -52,4 +52,4 @@ info: | ---*/ -{}() => 42;; +{}() => 42; diff --git a/test/language/statementList/block-arrow-function-functionbody.js b/test/language/statementList/block-arrow-function-functionbody.js index 184acf83a4..cfc6a88226 100644 --- a/test/language/statementList/block-arrow-function-functionbody.js +++ b/test/language/statementList/block-arrow-function-functionbody.js @@ -52,4 +52,4 @@ info: | ---*/ -{}() => { return 42; };; +{}() => { return 42; }; diff --git a/test/language/statementList/block-block-with-labels.js b/test/language/statementList/block-block-with-labels.js index abdb80f41a..ead3c95edb 100644 --- a/test/language/statementList/block-block-with-labels.js +++ b/test/language/statementList/block-block-with-labels.js @@ -37,4 +37,4 @@ info: | ---*/ -{}{x: 42};; +{}{x: 42}; diff --git a/test/language/statementList/block-block.js b/test/language/statementList/block-block.js index 611701b963..f53175b715 100644 --- a/test/language/statementList/block-block.js +++ b/test/language/statementList/block-block.js @@ -37,4 +37,4 @@ info: | ---*/ -{}{}; +{}{} diff --git a/test/language/statementList/block-expr-arrow-function-boolean-literal.js b/test/language/statementList/block-expr-arrow-function-boolean-literal.js index 5d19f64eb4..58a8a06bf2 100644 --- a/test/language/statementList/block-expr-arrow-function-boolean-literal.js +++ b/test/language/statementList/block-expr-arrow-function-boolean-literal.js @@ -54,4 +54,4 @@ info: | ---*/ -{}() => 1, 42;; +{}() => 1, 42; diff --git a/test/language/statementList/block-let-declaration.js b/test/language/statementList/block-let-declaration.js index f16436ba78..9354b2f21b 100644 --- a/test/language/statementList/block-let-declaration.js +++ b/test/language/statementList/block-let-declaration.js @@ -35,4 +35,4 @@ info: | ---*/ -{}let a, b = 42, c;b;; +{}let a, b = 42, c;b; diff --git a/test/language/statementList/block-regexp-literal-flags.js b/test/language/statementList/block-regexp-literal-flags.js index f298fa1088..f2fa11f688 100644 --- a/test/language/statementList/block-regexp-literal-flags.js +++ b/test/language/statementList/block-regexp-literal-flags.js @@ -39,4 +39,4 @@ info: | ---*/ -{}/1/g;; +{}/1/g; diff --git a/test/language/statementList/block-regexp-literal.js b/test/language/statementList/block-regexp-literal.js index 2852ff4225..fa066f4cb9 100644 --- a/test/language/statementList/block-regexp-literal.js +++ b/test/language/statementList/block-regexp-literal.js @@ -39,4 +39,4 @@ info: | ---*/ -{}/1/;; +{}/1/; diff --git a/test/language/statementList/block-with-statment-array-literal-with-item.js b/test/language/statementList/block-with-statment-array-literal-with-item.js index a7dfbdd5aa..0bf365ec20 100644 --- a/test/language/statementList/block-with-statment-array-literal-with-item.js +++ b/test/language/statementList/block-with-statment-array-literal-with-item.js @@ -42,4 +42,4 @@ info: | // length is a label! -{length: 3000}[42];; +{length: 3000}[42]; diff --git a/test/language/statementList/block-with-statment-array-literal.js b/test/language/statementList/block-with-statment-array-literal.js index 699c7c5dd5..018a8f5b96 100644 --- a/test/language/statementList/block-with-statment-array-literal.js +++ b/test/language/statementList/block-with-statment-array-literal.js @@ -42,4 +42,4 @@ info: | // length is a label! -{length: 3000}[];; +{length: 3000}[]; diff --git a/test/language/statementList/block-with-statment-arrow-function-assignment-expr.js b/test/language/statementList/block-with-statment-arrow-function-assignment-expr.js index 0a75fd2bd5..02d25ebb11 100644 --- a/test/language/statementList/block-with-statment-arrow-function-assignment-expr.js +++ b/test/language/statementList/block-with-statment-arrow-function-assignment-expr.js @@ -53,4 +53,4 @@ info: | // length is a label! -{length: 3000}() => 42;; +{length: 3000}() => 42; diff --git a/test/language/statementList/block-with-statment-arrow-function-functionbody.js b/test/language/statementList/block-with-statment-arrow-function-functionbody.js index 111d4c0bda..1ee92d0a48 100644 --- a/test/language/statementList/block-with-statment-arrow-function-functionbody.js +++ b/test/language/statementList/block-with-statment-arrow-function-functionbody.js @@ -53,4 +53,4 @@ info: | // length is a label! -{length: 3000}() => { return 42; };; +{length: 3000}() => { return 42; }; diff --git a/test/language/statementList/block-with-statment-block-with-labels.js b/test/language/statementList/block-with-statment-block-with-labels.js index f3232a7ded..34d2bbbc8d 100644 --- a/test/language/statementList/block-with-statment-block-with-labels.js +++ b/test/language/statementList/block-with-statment-block-with-labels.js @@ -38,4 +38,4 @@ info: | // length is a label! -{length: 3000}{x: 42};; +{length: 3000}{x: 42}; diff --git a/test/language/statementList/block-with-statment-block.js b/test/language/statementList/block-with-statment-block.js index ad36431ceb..d305a5dbbc 100644 --- a/test/language/statementList/block-with-statment-block.js +++ b/test/language/statementList/block-with-statment-block.js @@ -38,4 +38,4 @@ info: | // length is a label! -{length: 3000}{}; +{length: 3000}{} diff --git a/test/language/statementList/block-with-statment-expr-arrow-function-boolean-literal.js b/test/language/statementList/block-with-statment-expr-arrow-function-boolean-literal.js index 908b59122a..e2501e4eab 100644 --- a/test/language/statementList/block-with-statment-expr-arrow-function-boolean-literal.js +++ b/test/language/statementList/block-with-statment-expr-arrow-function-boolean-literal.js @@ -55,4 +55,4 @@ info: | // length is a label! -{length: 3000}() => 1, 42;; +{length: 3000}() => 1, 42; diff --git a/test/language/statementList/block-with-statment-let-declaration.js b/test/language/statementList/block-with-statment-let-declaration.js index 8ed76c3210..ae21e16e7c 100644 --- a/test/language/statementList/block-with-statment-let-declaration.js +++ b/test/language/statementList/block-with-statment-let-declaration.js @@ -36,4 +36,4 @@ info: | // length is a label! -{length: 3000}let a, b = 42, c;b;; +{length: 3000}let a, b = 42, c;b; diff --git a/test/language/statementList/block-with-statment-regexp-literal-flags.js b/test/language/statementList/block-with-statment-regexp-literal-flags.js index a48bc7672e..5aacfd117c 100644 --- a/test/language/statementList/block-with-statment-regexp-literal-flags.js +++ b/test/language/statementList/block-with-statment-regexp-literal-flags.js @@ -40,4 +40,4 @@ info: | // length is a label! -{length: 3000}/1/g;; +{length: 3000}/1/g; diff --git a/test/language/statementList/block-with-statment-regexp-literal.js b/test/language/statementList/block-with-statment-regexp-literal.js index f47f99217d..525c872c0e 100644 --- a/test/language/statementList/block-with-statment-regexp-literal.js +++ b/test/language/statementList/block-with-statment-regexp-literal.js @@ -40,4 +40,4 @@ info: | // length is a label! -{length: 3000}/1/;; +{length: 3000}/1/; diff --git a/test/language/statementList/class-array-literal-with-item.js b/test/language/statementList/class-array-literal-with-item.js index a764ac48da..fff9665f5d 100644 --- a/test/language/statementList/class-array-literal-with-item.js +++ b/test/language/statementList/class-array-literal-with-item.js @@ -37,4 +37,4 @@ info: | ---*/ -class C {}[42];; +class C {}[42]; diff --git a/test/language/statementList/class-array-literal.js b/test/language/statementList/class-array-literal.js index 04bc62e2ce..83f7ea0211 100644 --- a/test/language/statementList/class-array-literal.js +++ b/test/language/statementList/class-array-literal.js @@ -37,4 +37,4 @@ info: | ---*/ -class C {}[];; +class C {}[]; diff --git a/test/language/statementList/class-arrow-function-assignment-expr.js b/test/language/statementList/class-arrow-function-assignment-expr.js index aae237e576..5f24a94013 100644 --- a/test/language/statementList/class-arrow-function-assignment-expr.js +++ b/test/language/statementList/class-arrow-function-assignment-expr.js @@ -47,4 +47,4 @@ info: | ---*/ -class C {}() => 42;; +class C {}() => 42; diff --git a/test/language/statementList/class-arrow-function-functionbody.js b/test/language/statementList/class-arrow-function-functionbody.js index 760c2b8adc..27036a2e0a 100644 --- a/test/language/statementList/class-arrow-function-functionbody.js +++ b/test/language/statementList/class-arrow-function-functionbody.js @@ -47,4 +47,4 @@ info: | ---*/ -class C {}() => { return 42; };; +class C {}() => { return 42; }; diff --git a/test/language/statementList/class-block-with-labels.js b/test/language/statementList/class-block-with-labels.js index eb3a0b0bc6..f9cd824ae4 100644 --- a/test/language/statementList/class-block-with-labels.js +++ b/test/language/statementList/class-block-with-labels.js @@ -33,4 +33,4 @@ info: | ---*/ -class C {}{x: 42};; +class C {}{x: 42}; diff --git a/test/language/statementList/class-block.js b/test/language/statementList/class-block.js index 7b5d9623f4..da0c793b99 100644 --- a/test/language/statementList/class-block.js +++ b/test/language/statementList/class-block.js @@ -33,4 +33,4 @@ info: | ---*/ -class C {}{}; +class C {}{} diff --git a/test/language/statementList/class-expr-arrow-function-boolean-literal.js b/test/language/statementList/class-expr-arrow-function-boolean-literal.js index 8e61ff78eb..637b46f696 100644 --- a/test/language/statementList/class-expr-arrow-function-boolean-literal.js +++ b/test/language/statementList/class-expr-arrow-function-boolean-literal.js @@ -49,4 +49,4 @@ info: | ---*/ -class C {}() => 1, 42;; +class C {}() => 1, 42; diff --git a/test/language/statementList/class-let-declaration.js b/test/language/statementList/class-let-declaration.js index 2c296f9727..04c6ca050d 100644 --- a/test/language/statementList/class-let-declaration.js +++ b/test/language/statementList/class-let-declaration.js @@ -31,4 +31,4 @@ info: | ---*/ -class C {}let a, b = 42, c;b;; +class C {}let a, b = 42, c;b; diff --git a/test/language/statementList/class-regexp-literal-flags.js b/test/language/statementList/class-regexp-literal-flags.js index 83f139af68..3872ed06ec 100644 --- a/test/language/statementList/class-regexp-literal-flags.js +++ b/test/language/statementList/class-regexp-literal-flags.js @@ -35,4 +35,4 @@ info: | ---*/ -class C {}/1/g;; +class C {}/1/g; diff --git a/test/language/statementList/class-regexp-literal.js b/test/language/statementList/class-regexp-literal.js index ea781072a9..2ee0c69272 100644 --- a/test/language/statementList/class-regexp-literal.js +++ b/test/language/statementList/class-regexp-literal.js @@ -35,4 +35,4 @@ info: | ---*/ -class C {}/1/;; +class C {}/1/; diff --git a/test/language/statementList/eval-block-with-statment-array-literal-with-item.js b/test/language/statementList/eval-block-with-statment-array-literal-with-item.js index 5b9236ad80..6bafaa2602 100644 --- a/test/language/statementList/eval-block-with-statment-array-literal-with-item.js +++ b/test/language/statementList/eval-block-with-statment-array-literal-with-item.js @@ -42,7 +42,7 @@ info: | // length is a label! -var result = eval('{length: 3000}[42];;'); +var result = eval('{length: 3000}[42];'); // Reuse this value for items with empty completions var expected = 3000; diff --git a/test/language/statementList/eval-block-with-statment-array-literal.js b/test/language/statementList/eval-block-with-statment-array-literal.js index 82f46fb646..3b2d0708f7 100644 --- a/test/language/statementList/eval-block-with-statment-array-literal.js +++ b/test/language/statementList/eval-block-with-statment-array-literal.js @@ -42,7 +42,7 @@ info: | // length is a label! -var result = eval('{length: 3000}[];;'); +var result = eval('{length: 3000}[];'); // Reuse this value for items with empty completions var expected = 3000; diff --git a/test/language/statementList/eval-block-with-statment-arrow-function-assignment-expr.js b/test/language/statementList/eval-block-with-statment-arrow-function-assignment-expr.js index 1379381c46..81cc7dd9c7 100644 --- a/test/language/statementList/eval-block-with-statment-arrow-function-assignment-expr.js +++ b/test/language/statementList/eval-block-with-statment-arrow-function-assignment-expr.js @@ -53,7 +53,7 @@ info: | // length is a label! -var result = eval('{length: 3000}() => 42;;'); +var result = eval('{length: 3000}() => 42;'); // Reuse this value for items with empty completions var expected = 3000; diff --git a/test/language/statementList/eval-block-with-statment-arrow-function-functionbody.js b/test/language/statementList/eval-block-with-statment-arrow-function-functionbody.js index 59be093b2e..ebe23ca62a 100644 --- a/test/language/statementList/eval-block-with-statment-arrow-function-functionbody.js +++ b/test/language/statementList/eval-block-with-statment-arrow-function-functionbody.js @@ -53,7 +53,7 @@ info: | // length is a label! -var result = eval('{length: 3000}() => { return 42; };;'); +var result = eval('{length: 3000}() => { return 42; };'); // Reuse this value for items with empty completions var expected = 3000; diff --git a/test/language/statementList/eval-block-with-statment-block-with-labels.js b/test/language/statementList/eval-block-with-statment-block-with-labels.js index d028d4fe08..15414e041f 100644 --- a/test/language/statementList/eval-block-with-statment-block-with-labels.js +++ b/test/language/statementList/eval-block-with-statment-block-with-labels.js @@ -38,7 +38,7 @@ info: | // length is a label! -var result = eval('{length: 3000}{x: 42};;'); +var result = eval('{length: 3000}{x: 42};'); // Reuse this value for items with empty completions var expected = 3000; diff --git a/test/language/statementList/eval-block-with-statment-block.js b/test/language/statementList/eval-block-with-statment-block.js index 073bf00509..292ab02144 100644 --- a/test/language/statementList/eval-block-with-statment-block.js +++ b/test/language/statementList/eval-block-with-statment-block.js @@ -38,7 +38,7 @@ info: | // length is a label! -var result = eval('{length: 3000}{};'); +var result = eval('{length: 3000}{}'); // Reuse this value for items with empty completions var expected = 3000; diff --git a/test/language/statementList/eval-block-with-statment-expr-arrow-function-boolean-literal.js b/test/language/statementList/eval-block-with-statment-expr-arrow-function-boolean-literal.js index 67124d3f45..867e8c0416 100644 --- a/test/language/statementList/eval-block-with-statment-expr-arrow-function-boolean-literal.js +++ b/test/language/statementList/eval-block-with-statment-expr-arrow-function-boolean-literal.js @@ -55,7 +55,7 @@ info: | // length is a label! -var result = eval('{length: 3000}() => 1, 42;;'); +var result = eval('{length: 3000}() => 1, 42;'); // Reuse this value for items with empty completions var expected = 3000; diff --git a/test/language/statementList/eval-block-with-statment-let-declaration.js b/test/language/statementList/eval-block-with-statment-let-declaration.js index a3a3c0c50b..ad9986969f 100644 --- a/test/language/statementList/eval-block-with-statment-let-declaration.js +++ b/test/language/statementList/eval-block-with-statment-let-declaration.js @@ -36,7 +36,7 @@ info: | // length is a label! -var result = eval('{length: 3000}let a, b = 42, c;b;;'); +var result = eval('{length: 3000}let a, b = 42, c;b;'); // Reuse this value for items with empty completions var expected = 3000; diff --git a/test/language/statementList/eval-block-with-statment-regexp-literal-flags.js b/test/language/statementList/eval-block-with-statment-regexp-literal-flags.js index aac0f31bc5..d02d64df7b 100644 --- a/test/language/statementList/eval-block-with-statment-regexp-literal-flags.js +++ b/test/language/statementList/eval-block-with-statment-regexp-literal-flags.js @@ -40,7 +40,7 @@ info: | // length is a label! -var result = eval('{length: 3000}/1/g;;'); +var result = eval('{length: 3000}/1/g;'); // Reuse this value for items with empty completions var expected = 3000; diff --git a/test/language/statementList/eval-block-with-statment-regexp-literal.js b/test/language/statementList/eval-block-with-statment-regexp-literal.js index f61528b80a..9f8febdb93 100644 --- a/test/language/statementList/eval-block-with-statment-regexp-literal.js +++ b/test/language/statementList/eval-block-with-statment-regexp-literal.js @@ -40,7 +40,7 @@ info: | // length is a label! -var result = eval('{length: 3000}/1/;;'); +var result = eval('{length: 3000}/1/;'); // Reuse this value for items with empty completions var expected = 3000; diff --git a/test/language/statementList/eval-class-array-literal-with-item.js b/test/language/statementList/eval-class-array-literal-with-item.js index 1c6f7e2b1a..602e4ac3ca 100644 --- a/test/language/statementList/eval-class-array-literal-with-item.js +++ b/test/language/statementList/eval-class-array-literal-with-item.js @@ -37,7 +37,7 @@ info: | ---*/ -var result = eval('class C {}[42];;'); +var result = eval('class C {}[42];'); assert.sameValue(Object.getPrototypeOf(result), Array.prototype); assert.sameValue(result.length, 1); diff --git a/test/language/statementList/eval-class-array-literal.js b/test/language/statementList/eval-class-array-literal.js index 25ed3e5f43..9fef187078 100644 --- a/test/language/statementList/eval-class-array-literal.js +++ b/test/language/statementList/eval-class-array-literal.js @@ -37,7 +37,7 @@ info: | ---*/ -var result = eval('class C {}[];;'); +var result = eval('class C {}[];'); assert.sameValue(Object.getPrototypeOf(result), Array.prototype); assert.sameValue(result.length, 0); diff --git a/test/language/statementList/eval-class-arrow-function-assignment-expr.js b/test/language/statementList/eval-class-arrow-function-assignment-expr.js index 6737bdffee..bb8d43e168 100644 --- a/test/language/statementList/eval-class-arrow-function-assignment-expr.js +++ b/test/language/statementList/eval-class-arrow-function-assignment-expr.js @@ -47,6 +47,6 @@ info: | ---*/ -var result = eval('class C {}() => 42;;'); +var result = eval('class C {}() => 42;'); assert.sameValue(result(), 42); diff --git a/test/language/statementList/eval-class-arrow-function-functionbody.js b/test/language/statementList/eval-class-arrow-function-functionbody.js index 4a82405042..285fa323cc 100644 --- a/test/language/statementList/eval-class-arrow-function-functionbody.js +++ b/test/language/statementList/eval-class-arrow-function-functionbody.js @@ -47,6 +47,6 @@ info: | ---*/ -var result = eval('class C {}() => { return 42; };;'); +var result = eval('class C {}() => { return 42; };'); assert.sameValue(result(), 42); diff --git a/test/language/statementList/eval-class-block-with-labels.js b/test/language/statementList/eval-class-block-with-labels.js index c46cc62fce..ca5ac42395 100644 --- a/test/language/statementList/eval-class-block-with-labels.js +++ b/test/language/statementList/eval-class-block-with-labels.js @@ -33,6 +33,6 @@ info: | ---*/ -var result = eval('class C {}{x: 42};;'); +var result = eval('class C {}{x: 42};'); assert.sameValue(result, 42, 'it does not evaluate to an Object with the property x'); diff --git a/test/language/statementList/eval-class-block.js b/test/language/statementList/eval-class-block.js index 9685a8ba14..dcb3d206cd 100644 --- a/test/language/statementList/eval-class-block.js +++ b/test/language/statementList/eval-class-block.js @@ -33,6 +33,6 @@ info: | ---*/ -var result = eval('class C {}{};'); +var result = eval('class C {}{}'); assert.sameValue(result, undefined); diff --git a/test/language/statementList/eval-class-expr-arrow-function-boolean-literal.js b/test/language/statementList/eval-class-expr-arrow-function-boolean-literal.js index bb75184992..bd1b26cd6d 100644 --- a/test/language/statementList/eval-class-expr-arrow-function-boolean-literal.js +++ b/test/language/statementList/eval-class-expr-arrow-function-boolean-literal.js @@ -49,6 +49,6 @@ info: | ---*/ -var result = eval('class C {}() => 1, 42;;'); +var result = eval('class C {}() => 1, 42;'); assert.sameValue(result, 42); diff --git a/test/language/statementList/eval-class-let-declaration.js b/test/language/statementList/eval-class-let-declaration.js index f15b793efc..7b3c9fda83 100644 --- a/test/language/statementList/eval-class-let-declaration.js +++ b/test/language/statementList/eval-class-let-declaration.js @@ -31,6 +31,6 @@ info: | ---*/ -var result = eval('class C {}let a, b = 42, c;b;;'); +var result = eval('class C {}let a, b = 42, c;b;'); assert.sameValue(result, 42); diff --git a/test/language/statementList/eval-class-regexp-literal-flags.js b/test/language/statementList/eval-class-regexp-literal-flags.js index 3b7f4fa09c..c4a1a3d169 100644 --- a/test/language/statementList/eval-class-regexp-literal-flags.js +++ b/test/language/statementList/eval-class-regexp-literal-flags.js @@ -35,7 +35,7 @@ info: | ---*/ -var result = eval('class C {}/1/g;;'); +var result = eval('class C {}/1/g;'); assert.sameValue(Object.getPrototypeOf(result), RegExp.prototype); assert.sameValue(result.flags, 'g'); diff --git a/test/language/statementList/eval-class-regexp-literal.js b/test/language/statementList/eval-class-regexp-literal.js index 5d7e033613..317c7d2332 100644 --- a/test/language/statementList/eval-class-regexp-literal.js +++ b/test/language/statementList/eval-class-regexp-literal.js @@ -35,7 +35,7 @@ info: | ---*/ -var result = eval('class C {}/1/;;'); +var result = eval('class C {}/1/;'); assert.sameValue(Object.getPrototypeOf(result), RegExp.prototype); assert.sameValue(result.flags, ''); diff --git a/test/language/statementList/eval-fn-array-literal-with-item.js b/test/language/statementList/eval-fn-array-literal-with-item.js index f2e65541a9..325a3c3a85 100644 --- a/test/language/statementList/eval-fn-array-literal-with-item.js +++ b/test/language/statementList/eval-fn-array-literal-with-item.js @@ -38,7 +38,7 @@ info: | ---*/ -var result = eval('function fn() {}[42];;'); +var result = eval('function fn() {}[42];'); assert.sameValue(Object.getPrototypeOf(result), Array.prototype); assert.sameValue(result.length, 1); diff --git a/test/language/statementList/eval-fn-array-literal.js b/test/language/statementList/eval-fn-array-literal.js index 4adaf2ebfd..9d78dcad4d 100644 --- a/test/language/statementList/eval-fn-array-literal.js +++ b/test/language/statementList/eval-fn-array-literal.js @@ -38,7 +38,7 @@ info: | ---*/ -var result = eval('function fn() {}[];;'); +var result = eval('function fn() {}[];'); assert.sameValue(Object.getPrototypeOf(result), Array.prototype); assert.sameValue(result.length, 0); diff --git a/test/language/statementList/eval-fn-arrow-function-assignment-expr.js b/test/language/statementList/eval-fn-arrow-function-assignment-expr.js index 075e142cfb..d990a22e10 100644 --- a/test/language/statementList/eval-fn-arrow-function-assignment-expr.js +++ b/test/language/statementList/eval-fn-arrow-function-assignment-expr.js @@ -49,6 +49,6 @@ info: | ---*/ -var result = eval('function fn() {}() => 42;;'); +var result = eval('function fn() {}() => 42;'); assert.sameValue(result(), 42); diff --git a/test/language/statementList/eval-fn-arrow-function-functionbody.js b/test/language/statementList/eval-fn-arrow-function-functionbody.js index 0b6f1c24de..1a0bccdddc 100644 --- a/test/language/statementList/eval-fn-arrow-function-functionbody.js +++ b/test/language/statementList/eval-fn-arrow-function-functionbody.js @@ -49,6 +49,6 @@ info: | ---*/ -var result = eval('function fn() {}() => { return 42; };;'); +var result = eval('function fn() {}() => { return 42; };'); assert.sameValue(result(), 42); diff --git a/test/language/statementList/eval-fn-block-with-labels.js b/test/language/statementList/eval-fn-block-with-labels.js index 5f3cc7e35a..4a245ec457 100644 --- a/test/language/statementList/eval-fn-block-with-labels.js +++ b/test/language/statementList/eval-fn-block-with-labels.js @@ -34,6 +34,6 @@ info: | ---*/ -var result = eval('function fn() {}{x: 42};;'); +var result = eval('function fn() {}{x: 42};'); assert.sameValue(result, 42, 'it does not evaluate to an Object with the property x'); diff --git a/test/language/statementList/eval-fn-block.js b/test/language/statementList/eval-fn-block.js index 19160cc899..5a5c5a2f84 100644 --- a/test/language/statementList/eval-fn-block.js +++ b/test/language/statementList/eval-fn-block.js @@ -34,6 +34,6 @@ info: | ---*/ -var result = eval('function fn() {}{};'); +var result = eval('function fn() {}{}'); assert.sameValue(result, undefined); diff --git a/test/language/statementList/eval-fn-expr-arrow-function-boolean-literal.js b/test/language/statementList/eval-fn-expr-arrow-function-boolean-literal.js index d57bea4fe2..3aedbdd84d 100644 --- a/test/language/statementList/eval-fn-expr-arrow-function-boolean-literal.js +++ b/test/language/statementList/eval-fn-expr-arrow-function-boolean-literal.js @@ -51,6 +51,6 @@ info: | ---*/ -var result = eval('function fn() {}() => 1, 42;;'); +var result = eval('function fn() {}() => 1, 42;'); assert.sameValue(result, 42); diff --git a/test/language/statementList/eval-fn-let-declaration.js b/test/language/statementList/eval-fn-let-declaration.js index 0bc5be70c3..4ef4236ad2 100644 --- a/test/language/statementList/eval-fn-let-declaration.js +++ b/test/language/statementList/eval-fn-let-declaration.js @@ -32,6 +32,6 @@ info: | ---*/ -var result = eval('function fn() {}let a, b = 42, c;b;;'); +var result = eval('function fn() {}let a, b = 42, c;b;'); assert.sameValue(result, 42); diff --git a/test/language/statementList/eval-fn-regexp-literal-flags.js b/test/language/statementList/eval-fn-regexp-literal-flags.js index 9321eb256b..d8f11e5a45 100644 --- a/test/language/statementList/eval-fn-regexp-literal-flags.js +++ b/test/language/statementList/eval-fn-regexp-literal-flags.js @@ -36,7 +36,7 @@ info: | ---*/ -var result = eval('function fn() {}/1/g;;'); +var result = eval('function fn() {}/1/g;'); assert.sameValue(Object.getPrototypeOf(result), RegExp.prototype); assert.sameValue(result.flags, 'g'); diff --git a/test/language/statementList/eval-fn-regexp-literal.js b/test/language/statementList/eval-fn-regexp-literal.js index 2677f26e42..74329f19a7 100644 --- a/test/language/statementList/eval-fn-regexp-literal.js +++ b/test/language/statementList/eval-fn-regexp-literal.js @@ -36,7 +36,7 @@ info: | ---*/ -var result = eval('function fn() {}/1/;;'); +var result = eval('function fn() {}/1/;'); assert.sameValue(Object.getPrototypeOf(result), RegExp.prototype); assert.sameValue(result.flags, ''); diff --git a/test/language/statementList/fn-array-literal-with-item.js b/test/language/statementList/fn-array-literal-with-item.js index bcff465e5f..61c9a231c5 100644 --- a/test/language/statementList/fn-array-literal-with-item.js +++ b/test/language/statementList/fn-array-literal-with-item.js @@ -38,4 +38,4 @@ info: | ---*/ -function fn() {}[42];; +function fn() {}[42]; diff --git a/test/language/statementList/fn-array-literal.js b/test/language/statementList/fn-array-literal.js index 864564b175..93d8992864 100644 --- a/test/language/statementList/fn-array-literal.js +++ b/test/language/statementList/fn-array-literal.js @@ -38,4 +38,4 @@ info: | ---*/ -function fn() {}[];; +function fn() {}[]; diff --git a/test/language/statementList/fn-arrow-function-assignment-expr.js b/test/language/statementList/fn-arrow-function-assignment-expr.js index 9e7718ed92..a581f791a0 100644 --- a/test/language/statementList/fn-arrow-function-assignment-expr.js +++ b/test/language/statementList/fn-arrow-function-assignment-expr.js @@ -49,4 +49,4 @@ info: | ---*/ -function fn() {}() => 42;; +function fn() {}() => 42; diff --git a/test/language/statementList/fn-arrow-function-functionbody.js b/test/language/statementList/fn-arrow-function-functionbody.js index c90e79d54b..3c5a6f8de6 100644 --- a/test/language/statementList/fn-arrow-function-functionbody.js +++ b/test/language/statementList/fn-arrow-function-functionbody.js @@ -49,4 +49,4 @@ info: | ---*/ -function fn() {}() => { return 42; };; +function fn() {}() => { return 42; }; diff --git a/test/language/statementList/fn-block-with-labels.js b/test/language/statementList/fn-block-with-labels.js index a654b1f406..ed4a80a15c 100644 --- a/test/language/statementList/fn-block-with-labels.js +++ b/test/language/statementList/fn-block-with-labels.js @@ -34,4 +34,4 @@ info: | ---*/ -function fn() {}{x: 42};; +function fn() {}{x: 42}; diff --git a/test/language/statementList/fn-block.js b/test/language/statementList/fn-block.js index d6689771a5..729ba19bb6 100644 --- a/test/language/statementList/fn-block.js +++ b/test/language/statementList/fn-block.js @@ -34,4 +34,4 @@ info: | ---*/ -function fn() {}{}; +function fn() {}{} diff --git a/test/language/statementList/fn-expr-arrow-function-boolean-literal.js b/test/language/statementList/fn-expr-arrow-function-boolean-literal.js index fefcf70eb4..a0e5f78f56 100644 --- a/test/language/statementList/fn-expr-arrow-function-boolean-literal.js +++ b/test/language/statementList/fn-expr-arrow-function-boolean-literal.js @@ -51,4 +51,4 @@ info: | ---*/ -function fn() {}() => 1, 42;; +function fn() {}() => 1, 42; diff --git a/test/language/statementList/fn-let-declaration.js b/test/language/statementList/fn-let-declaration.js index b8d9f3cf83..b07416b064 100644 --- a/test/language/statementList/fn-let-declaration.js +++ b/test/language/statementList/fn-let-declaration.js @@ -32,4 +32,4 @@ info: | ---*/ -function fn() {}let a, b = 42, c;b;; +function fn() {}let a, b = 42, c;b; diff --git a/test/language/statementList/fn-regexp-literal-flags.js b/test/language/statementList/fn-regexp-literal-flags.js index 11d9a706da..a20df987be 100644 --- a/test/language/statementList/fn-regexp-literal-flags.js +++ b/test/language/statementList/fn-regexp-literal-flags.js @@ -36,4 +36,4 @@ info: | ---*/ -function fn() {}/1/g;; +function fn() {}/1/g; diff --git a/test/language/statementList/fn-regexp-literal.js b/test/language/statementList/fn-regexp-literal.js index 162a0da5a1..162d803216 100644 --- a/test/language/statementList/fn-regexp-literal.js +++ b/test/language/statementList/fn-regexp-literal.js @@ -36,4 +36,4 @@ info: | ---*/ -function fn() {}/1/;; +function fn() {}/1/;