aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Fugate <dfugate@microsoft.com>2012-02-24 14:28:50 -0800
committerDavid Fugate <dfugate@microsoft.com>2012-02-24 14:28:50 -0800
commitd9e409ac1bf86d3d7bba85e9be2d5663de11b1a1 (patch)
treea5f902b88d1ed68190e763d85bc84a3e15920329 /test
parent35af99abe1eb03de767c90f4f4e9bfb7c452bc90 (diff)
https://bugs.ecmascript.org/show_bug.cgi?id=269
Extension clause permits function declarations more or less anywhere. Moved four such negative test cases to best practices directory.
Diffstat (limited to 'test')
-rw-r--r--test/suite/bestPractice/Sbp_12.5_A9_T3.js (renamed from test/suite/ch12/12.5/S12.5_A9_T3.js)2
-rw-r--r--test/suite/bestPractice/Sbp_12.6.1_A13_T3.js (renamed from test/suite/ch12/12.6/12.6.1/S12.6.1_A13_T3.js)2
-rw-r--r--test/suite/bestPractice/Sbp_12.6.2_A13_T3.js (renamed from test/suite/ch12/12.6/12.6.2/S12.6.2_A13_T3.js)2
-rw-r--r--test/suite/bestPractice/Sbp_12.6.4_A13_T3.js (renamed from test/suite/ch12/12.6/12.6.4/S12.6.4_A13_T3.js)2
4 files changed, 4 insertions, 4 deletions
diff --git a/test/suite/ch12/12.5/S12.5_A9_T3.js b/test/suite/bestPractice/Sbp_12.5_A9_T3.js
index c2cce81cd..e9cbb0eb3 100644
--- a/test/suite/ch12/12.5/S12.5_A9_T3.js
+++ b/test/suite/bestPractice/Sbp_12.5_A9_T3.js
@@ -4,7 +4,7 @@
/**
* Function declaration within an "if" statement is not allowed
*
- * @path ch12/12.5/S12.5_A9_T3.js
+ * @path bestPractice/Sbp_12.5_A9_T3.js
* @description Declaring function within an "if" statement that is declared within the function declaration
* @negative
*/
diff --git a/test/suite/ch12/12.6/12.6.1/S12.6.1_A13_T3.js b/test/suite/bestPractice/Sbp_12.6.1_A13_T3.js
index 29bf80ac9..943aa2182 100644
--- a/test/suite/ch12/12.6/12.6.1/S12.6.1_A13_T3.js
+++ b/test/suite/bestPractice/Sbp_12.6.1_A13_T3.js
@@ -4,7 +4,7 @@
/**
* FunctionDeclaration within a "do-while" Block is not allowed
*
- * @path ch12/12.6/12.6.1/S12.6.1_A13_T3.js
+ * @path bestPractice/Sbp_12.6.1_A13_T3.js
* @description Declaring a function within a "do-while" loop that is within a function declaration itself
* @negative
*/
diff --git a/test/suite/ch12/12.6/12.6.2/S12.6.2_A13_T3.js b/test/suite/bestPractice/Sbp_12.6.2_A13_T3.js
index 294781037..17bfdab66 100644
--- a/test/suite/ch12/12.6/12.6.2/S12.6.2_A13_T3.js
+++ b/test/suite/bestPractice/Sbp_12.6.2_A13_T3.js
@@ -4,7 +4,7 @@
/**
* FunctionDeclaration within a "while" Statement is not allowed
*
- * @path ch12/12.6/12.6.2/S12.6.2_A13_T3.js
+ * @path bestPractice/Sbp_12.6.2_A13_T3.js
* @description Checking if declaring a function within a "while" Statement that is in a function body leads to an exception
* @negative
*/
diff --git a/test/suite/ch12/12.6/12.6.4/S12.6.4_A13_T3.js b/test/suite/bestPractice/Sbp_12.6.4_A13_T3.js
index 86cd5d401..f76366167 100644
--- a/test/suite/ch12/12.6/12.6.4/S12.6.4_A13_T3.js
+++ b/test/suite/bestPractice/Sbp_12.6.4_A13_T3.js
@@ -4,7 +4,7 @@
/**
* FunctionDeclaration within a "for-in" Statement is not allowed
*
- * @path ch12/12.6/12.6.4/S12.6.4_A13_T3.js
+ * @path bestPractice/Sbp_12.6.4_A13_T3.js
* @description Declaring function within a "for-in" Statement that is within function declaration
* @negative
*/