aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/ch07/7.6/7.6.1/7.6.1-2-2.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/ch07/7.6/7.6.1/7.6.1-2-2.js')
-rw-r--r--test/suite/ch07/7.6/7.6.1/7.6.1-2-2.js26
1 files changed, 14 insertions, 12 deletions
diff --git a/test/suite/ch07/7.6/7.6.1/7.6.1-2-2.js b/test/suite/ch07/7.6/7.6.1/7.6.1-2-2.js
index 3a8997852..8a2c3f8ba 100644
--- a/test/suite/ch07/7.6/7.6.1/7.6.1-2-2.js
+++ b/test/suite/ch07/7.6/7.6.1/7.6.1-2-2.js
@@ -1,14 +1,16 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch07/7.6/7.6.1/7.6.1-2-2.js
- * @description Allow reserved words as property names by dot operator assignment, verified with hasOwnProperty: break, case, do
- */
-
-
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Allow reserved words as property names by dot operator assignment,
+ verified with hasOwnProperty: break, case, do
+includes: [runTestCase.js]
+---*/
+
function testcase() {
var tokenCodes = {};
tokenCodes.break = 0;
@@ -30,4 +32,4 @@ function testcase() {
}
return true;
}
-runTestCase(testcase);
+runTestCase(testcase);