Skip to content
Snippets Groups Projects
Commit 176f5f85 authored by Mark Miller's avatar Mark Miller
Browse files

Generated adjusted tests

parent ea9a2f4c
No related branches found
No related tags found
No related merge requests found
Showing
with 20 additions and 16 deletions
...@@ -11,6 +11,6 @@ ...@@ -11,6 +11,6 @@
* @negative * @negative
*/ */
"use strict";
var interface = 1; var interface = 1;
...@@ -10,6 +10,6 @@ ...@@ -10,6 +10,6 @@
* @negative * @negative
*/ */
"use strict";
var package = 1; var package = 1;
...@@ -10,6 +10,6 @@ ...@@ -10,6 +10,6 @@
* @negative * @negative
*/ */
"use strict";
var private = 1; var private = 1;
...@@ -11,6 +11,6 @@ ...@@ -11,6 +11,6 @@
* @negative * @negative
*/ */
"use strict";
var protected = 1; var protected = 1;
...@@ -10,6 +10,6 @@ ...@@ -10,6 +10,6 @@
* @negative * @negative
*/ */
"use strict";
var public = 1; var public = 1;
...@@ -10,6 +10,6 @@ ...@@ -10,6 +10,6 @@
* @negative * @negative
*/ */
"use strict";
var static = 1; var static = 1;
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* @negative SyntaxError * @negative SyntaxError
*/ */
"use strict";
{ {
function __func(){} function __func(){}
} }
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* @negative SyntaxError * @negative SyntaxError
*/ */
"use strict";
if (true) { if (true) {
function __func(){}; function __func(){};
} else { } else {
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
* *
* @path 12_Statement/12.5_The_if_Statement/S12.5_A9_T2.js * @path 12_Statement/12.5_The_if_Statement/S12.5_A9_T2.js
* @description Declaring function within an "if" that is declared within the strict function * @description Declaring function within an "if" that is declared within the strict function
* @strictOnly
* @negative SyntaxError * @negative SyntaxError
*/ */
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* @negative SyntaxError * @negative SyntaxError
*/ */
"use strict";
do{ do{
function __func(){}; function __func(){};
} while(0); } while(0);
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
* *
* @path 12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T2.js * @path 12_Statement/12.6_Iteration_Statements/12.6.1_The_do_while_Statement/S12.6.1_A13_T2.js
* @description Declaring a function within a "do-while" loop that is within a strict function * @description Declaring a function within a "do-while" loop that is within a strict function
* @strictOnly
* @negative SyntaxError * @negative SyntaxError
*/ */
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
* *
* @path 15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A8.js * @path 15_Native/15.4_Array_Objects/15.4.4_Properties_of_the_Array_Prototype_Object/15.4.4.11_Array_prototype_sort/S15.4.4.11_A8.js
* @description comparefn tests that its this value is undefined * @description comparefn tests that its this value is undefined
* @strictOnly
*/ */
var global = this; var global = this;
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
* *
* @path 15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A12.js * @path 15_Native/15.5_String_Objects/15.5.4_Properties_of_the_String_Prototype_Object/15.5.4.11_String.prototype.replace/S15.5.4.11_A12.js
* @description replaceValue tests that its this value is undefined * @description replaceValue tests that its this value is undefined
* @strictOnly
*/ */
var global = this; var global = this;
......
...@@ -7,6 +7,6 @@ ...@@ -7,6 +7,6 @@
* @negative EarlyErrorRePat * @negative EarlyErrorRePat
*/ */
"use strict";
throw NotEarlyError; throw NotEarlyError;
var implements = 1; var implements = 1;
...@@ -7,6 +7,6 @@ ...@@ -7,6 +7,6 @@
* @negative EarlyErrorRePat * @negative EarlyErrorRePat
*/ */
"use strict";
throw NotEarlyError; throw NotEarlyError;
var y = 010; var y = 010;
...@@ -7,5 +7,5 @@ ...@@ -7,5 +7,5 @@
* @negative . * @negative .
*/ */
"use strict";
b = 11; b = 11;
...@@ -7,6 +7,6 @@ ...@@ -7,6 +7,6 @@
* @negative NotEarlyErrorString * @negative NotEarlyErrorString
*/ */
"use strict";
throw NotEarlyError; throw NotEarlyError;
b = 11; b = 11;
...@@ -7,6 +7,6 @@ ...@@ -7,6 +7,6 @@
* @negative EarlyErrorRePat * @negative EarlyErrorRePat
*/ */
"use strict";
throw NotEarlyError; throw NotEarlyError;
var public = 1; var public = 1;
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* @negative EarlyErrorRePat * @negative EarlyErrorRePat
*/ */
"use strict";
"use strict"; "use strict";
throw NotEarlyError; throw NotEarlyError;
var public = 1; var public = 1;
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* @negative EarlyErrorRePat * @negative EarlyErrorRePat
*/ */
"use strict";
eval("var x = 7;"); eval("var x = 7;");
x = 9; x = 9;
throw NotEarlyError; throw NotEarlyError;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment