aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/ch11/11.8
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/ch11/11.8')
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A1.js13
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A2.1_T1.js11
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A2.1_T2.js11
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A2.1_T3.js12
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A2.2_T1.js11
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A2.3_T1.js13
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A2.4_T1.js12
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A2.4_T2.js11
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A2.4_T3.js12
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T1.1.js15
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T1.2.js16
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T1.3.js15
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.1.js16
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.2.js16
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.3.js15
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.4.js15
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.5.js16
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.6.js15
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.7.js15
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.8.js15
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.9.js15
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A3.2_T1.1.js15
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A3.2_T1.2.js15
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A4.1.js12
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A4.10.js12
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A4.11.js13
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A4.12_T1.js14
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A4.12_T2.js14
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A4.2.js12
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A4.3.js13
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A4.4.js12
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A4.5.js12
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A4.6.js12
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A4.7.js12
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A4.8.js12
-rw-r--r--test/suite/ch11/11.8/11.8.1/S11.8.1_A4.9.js15
-rw-r--r--test/suite/ch11/11.8/11.8.2/11.8.2-1.js64
-rw-r--r--test/suite/ch11/11.8/11.8.2/11.8.2-2.js64
-rw-r--r--test/suite/ch11/11.8/11.8.2/11.8.2-3.js64
-rw-r--r--test/suite/ch11/11.8/11.8.2/11.8.2-4.js64
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A1.js13
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A2.1_T1.js11
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A2.1_T2.js12
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A2.1_T3.js12
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A2.2_T1.js11
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A2.3_T1.js11
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A2.4_T1.js12
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A2.4_T2.js11
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A2.4_T3.js12
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T1.1.js15
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T1.2.js16
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T1.3.js15
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.1.js16
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.2.js16
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.3.js15
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.4.js15
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.5.js16
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.6.js15
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.7.js15
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.8.js15
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.9.js15
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A3.2_T1.1.js15
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A3.2_T1.2.js15
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A4.1.js12
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A4.10.js11
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A4.11.js12
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A4.12_T1.js14
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A4.12_T2.js14
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A4.2.js12
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A4.3.js13
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A4.4.js12
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A4.5.js12
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A4.6.js12
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A4.7.js12
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A4.8.js12
-rw-r--r--test/suite/ch11/11.8/11.8.2/S11.8.2_A4.9.js15
-rw-r--r--test/suite/ch11/11.8/11.8.3/11.8.3-1.js64
-rw-r--r--test/suite/ch11/11.8/11.8.3/11.8.3-2.js65
-rw-r--r--test/suite/ch11/11.8/11.8.3/11.8.3-3.js65
-rw-r--r--test/suite/ch11/11.8/11.8.3/11.8.3-4.js65
-rw-r--r--test/suite/ch11/11.8/11.8.3/11.8.3-5.js64
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A1.js13
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A2.1_T1.js11
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A2.1_T2.js11
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A2.1_T3.js12
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A2.2_T1.js11
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A2.3_T1.js11
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A2.4_T1.js12
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A2.4_T2.js11
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A2.4_T3.js12
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T1.1.js15
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T1.2.js16
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T1.3.js15
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.1.js16
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.2.js16
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.3.js15
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.4.js15
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.5.js16
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.6.js15
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.7.js15
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.8.js15
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.9.js15
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A3.2_T1.1.js15
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A3.2_T1.2.js15
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A4.1.js12
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A4.10.js12
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A4.11.js13
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A4.12_T1.js14
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A4.12_T2.js14
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A4.2.js12
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A4.3.js13
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A4.4.js12
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A4.5.js12
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A4.6.js12
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A4.7.js12
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A4.8.js12
-rw-r--r--test/suite/ch11/11.8/11.8.3/S11.8.3_A4.9.js15
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A1.js13
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A2.1_T1.js11
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A2.1_T2.js12
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A2.1_T3.js12
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A2.2_T1.js11
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A2.3_T1.js13
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A2.4_T1.js12
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A2.4_T2.js11
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A2.4_T3.js12
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T1.1.js15
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T1.2.js16
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T1.3.js15
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.1.js16
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.2.js16
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.3.js15
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.4.js15
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.5.js16
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.6.js15
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.7.js15
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.8.js15
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.9.js15
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A3.2_T1.1.js15
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A3.2_T1.2.js15
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A4.1.js12
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A4.10.js11
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A4.11.js12
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A4.12_T1.js14
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A4.12_T2.js14
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A4.2.js12
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A4.3.js13
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A4.4.js12
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A4.5.js12
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A4.6.js12
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A4.7.js12
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A4.8.js12
-rw-r--r--test/suite/ch11/11.8/11.8.4/S11.8.4_A4.9.js15
-rw-r--r--test/suite/ch11/11.8/11.8.6/S11.8.6_A1.js13
-rw-r--r--test/suite/ch11/11.8/11.8.6/S11.8.6_A2.1_T1.js12
-rw-r--r--test/suite/ch11/11.8/11.8.6/S11.8.6_A2.1_T2.js11
-rw-r--r--test/suite/ch11/11.8/11.8.6/S11.8.6_A2.1_T3.js11
-rw-r--r--test/suite/ch11/11.8/11.8.6/S11.8.6_A2.4_T1.js12
-rw-r--r--test/suite/ch11/11.8/11.8.6/S11.8.6_A2.4_T2.js11
-rw-r--r--test/suite/ch11/11.8/11.8.6/S11.8.6_A2.4_T3.js12
-rw-r--r--test/suite/ch11/11.8/11.8.6/S11.8.6_A3.js11
-rw-r--r--test/suite/ch11/11.8/11.8.6/S11.8.6_A4_T1.js12
-rw-r--r--test/suite/ch11/11.8/11.8.6/S11.8.6_A4_T2.js12
-rw-r--r--test/suite/ch11/11.8/11.8.6/S11.8.6_A4_T3.js11
-rw-r--r--test/suite/ch11/11.8/11.8.6/S11.8.6_A5_T1.js12
-rw-r--r--test/suite/ch11/11.8/11.8.6/S11.8.6_A5_T2.js12
-rw-r--r--test/suite/ch11/11.8/11.8.6/S11.8.6_A6_T1.js13
-rw-r--r--test/suite/ch11/11.8/11.8.6/S11.8.6_A6_T2.js13
-rw-r--r--test/suite/ch11/11.8/11.8.6/S11.8.6_A6_T3.js13
-rw-r--r--test/suite/ch11/11.8/11.8.6/S11.8.6_A6_T4.js13
-rw-r--r--test/suite/ch11/11.8/11.8.6/S11.8.6_A7_T1.js13
-rw-r--r--test/suite/ch11/11.8/11.8.6/S11.8.6_A7_T2.js13
-rw-r--r--test/suite/ch11/11.8/11.8.6/S11.8.6_A7_T3.js14
-rw-r--r--test/suite/ch11/11.8/11.8.7/S11.8.7_A1.js13
-rw-r--r--test/suite/ch11/11.8/11.8.7/S11.8.7_A2.1_T1.js12
-rw-r--r--test/suite/ch11/11.8/11.8.7/S11.8.7_A2.1_T2.js11
-rw-r--r--test/suite/ch11/11.8/11.8.7/S11.8.7_A2.1_T3.js11
-rw-r--r--test/suite/ch11/11.8/11.8.7/S11.8.7_A2.4_T1.js12
-rw-r--r--test/suite/ch11/11.8/11.8.7/S11.8.7_A2.4_T2.js11
-rw-r--r--test/suite/ch11/11.8/11.8.7/S11.8.7_A2.4_T3.js12
-rw-r--r--test/suite/ch11/11.8/11.8.7/S11.8.7_A3.js11
-rw-r--r--test/suite/ch11/11.8/11.8.7/S11.8.7_A4.js11
182 files changed, 1290 insertions, 1571 deletions
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A1.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A1.js
index 5203b7341..e151aa27b 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A1.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * White Space and Line Terminator between RelationalExpression and "<" or between "<" and ShiftExpression are allowed
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A1.js
- * @description Checking by using eval
- */
+/*---
+info: >
+ White Space and Line Terminator between RelationalExpression and "<" or
+ between "<" and ShiftExpression are allowed
+description: Checking by using eval
+---*/
//CHECK#1
if (eval("0\u0009<\u00091") !== true) {
@@ -57,4 +57,3 @@ if (eval("0\u2029<\u20291") !== true) {
if (eval("0\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029<\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== true) {
$ERROR('#10: (0\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029<\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A2.1_T1.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A2.1_T1.js
index 4bcd448cb..20ebcba99 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A2.1_T1.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A2.1_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x < y uses GetValue
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A2.1_T1.js
- * @description Either Type is not Reference or GetBase is not null
- */
+/*---
+info: Operator x < y uses GetValue
+description: Either Type is not Reference or GetBase is not null
+---*/
//CHECK#1
if (1 < 2 !== true) {
@@ -40,4 +38,3 @@ objecty.prop = 2;
if (objectx.prop < objecty.prop !== true) {
$ERROR('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 2; objectx.prop < objecty.prop === true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A2.1_T2.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A2.1_T2.js
index 591c7a7a5..27c621da3 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A2.1_T2.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A2.1_T2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x < y uses GetValue
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A2.1_T2.js
- * @description If GetBase(x) is null, throw ReferenceError
- */
+/*---
+info: Operator x < y uses GetValue
+description: If GetBase(x) is null, throw ReferenceError
+---*/
//CHECK#1
try {
@@ -18,4 +16,3 @@ catch (e) {
$ERROR('#1.2: x < 1 throw ReferenceError. Actual: ' + (e));
}
}
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A2.1_T3.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A2.1_T3.js
index b71cac528..a8978fe4d 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A2.1_T3.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A2.1_T3.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x < y uses GetValue
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A2.1_T3.js
- * @description If GetBase(y) is null, throw ReferenceError
- */
+/*---
+info: Operator x < y uses GetValue
+description: If GetBase(y) is null, throw ReferenceError
+---*/
//CHECK#1
try {
@@ -18,5 +16,3 @@ catch (e) {
$ERROR('#1.2: 1 < y throw ReferenceError. Actual: ' + (e));
}
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A2.2_T1.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A2.2_T1.js
index 8641cf4f2..924508c35 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A2.2_T1.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A2.2_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x < y uses [[Default Value]]
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A2.2_T1.js
- * @description If Type(value) is Object, evaluate ToPrimitive(value, Number)
- */
+/*---
+info: Operator x < y uses [[Default Value]]
+description: If Type(value) is Object, evaluate ToPrimitive(value, Number)
+---*/
//CHECK#1
if ({valueOf: function() {return 0}} < 1 !== true) {
@@ -68,4 +66,3 @@ catch (e) {
$ERROR('#8.2: 1 < {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e));
}
}
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A2.3_T1.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A2.3_T1.js
index 9f7c478ca..73eec6137 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A2.3_T1.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A2.3_T1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * ToNumber(first expression) is called first, and then ToNumber(second expression)
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A2.3_T1.js
- * @description Checking with "throw"
- */
+/*---
+info: >
+ ToNumber(first expression) is called first, and then ToNumber(second
+ expression)
+description: Checking with "throw"
+---*/
//CHECK#1
var x = { valueOf: function () { throw "x"; } };
@@ -23,4 +23,3 @@ try {
}
}
}
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A2.4_T1.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A2.4_T1.js
index 739640488..21a6a1f10 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A2.4_T1.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A2.4_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * First expression is evaluated first, and then second expression
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A2.4_T1.js
- * @description Checking with "="
- */
+/*---
+info: First expression is evaluated first, and then second expression
+description: Checking with "="
+---*/
//CHECK#1
var x = 1;
@@ -19,5 +17,3 @@ var x = 0;
if (x < (x = 1) !== true) {
$ERROR('#2: var x = 0; x < (x = 1) === true');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A2.4_T2.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A2.4_T2.js
index acd8c1274..ca342460b 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A2.4_T2.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A2.4_T2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * First expression is evaluated first, and then second expression
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A2.4_T2.js
- * @description Checking with "throw"
- */
+/*---
+info: First expression is evaluated first, and then second expression
+description: Checking with "throw"
+---*/
//CHECK#1
var x = function () { throw "x"; };
@@ -23,4 +21,3 @@ try {
}
}
}
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A2.4_T3.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A2.4_T3.js
index 657ef95f2..cefba0ad6 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A2.4_T3.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A2.4_T3.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * First expression is evaluated first, and then second expression
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A2.4_T3.js
- * @description Checking with undeclarated variables
- */
+/*---
+info: First expression is evaluated first, and then second expression
+description: Checking with undeclarated variables
+---*/
//CHECK#1
try {
@@ -23,5 +21,3 @@ catch (e) {
if ((y = 1) < y !== false) {
$ERROR('#2: (y = 1) < y === false');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T1.1.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T1.1.js
index 0d01c8f9f..cbd4111df 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T1.1.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T1.1.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y)
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A3.1_T1.1.js
- * @description Type(Primitive(x)) and Type(Primitive(y)) vary between primitive boolean and Boolean object
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x < y returns ToNumber(x) < ToNumber(y)
+description: >
+ Type(Primitive(x)) and Type(Primitive(y)) vary between primitive
+ boolean and Boolean object
+---*/
//CHECK#1
if (true < true !== false) {
@@ -27,4 +29,3 @@ if (true < new Boolean(true) !== false) {
if (new Boolean(true) < new Boolean(true) !== false) {
$ERROR('#4: new Boolean(true) < new Boolean(true) === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T1.2.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T1.2.js
index afec980fd..05ed01af4 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T1.2.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T1.2.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y)
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A3.1_T1.2.js
- * @description Type(Primitive(x)) and Type(Primitive(y)) vary between primitive number and Number object
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x < y returns ToNumber(x) < ToNumber(y)
+description: >
+ Type(Primitive(x)) and Type(Primitive(y)) vary between primitive
+ number and Number object
+---*/
//CHECK#1
if (1 < 1 !== false) {
@@ -27,5 +29,3 @@ if (1 < new Number(1) !== false) {
if (new Number(1) < new Number(1) !== false) {
$ERROR('#4: new Number(1) < new Number(1) === false');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T1.3.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T1.3.js
index 7964cd27d..7d51e001c 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T1.3.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T1.3.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y)
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A3.1_T1.3.js
- * @description Type(Primitive(x)) and Type(Primitive(y)) vary between Null and Undefined
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x < y returns ToNumber(x) < ToNumber(y)
+description: >
+ Type(Primitive(x)) and Type(Primitive(y)) vary between Null and
+ Undefined
+---*/
//CHECK#1
if (null < undefined !== false) {
@@ -27,4 +29,3 @@ if (undefined < undefined !== false) {
if (null < null !== false) {
$ERROR('#4: null < null === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.1.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.1.js
index acbeb65db..1a80ad1d5 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.1.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.1.js
@@ -1,12 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y)
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A3.1_T2.1.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types are Number (primitive or object) or Boolean (primitive and object)
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x < y returns ToNumber(x) < ToNumber(y)
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types are Number (primitive or object) or Boolean (primitive and
+ object)
+---*/
//CHECK#1
if (true < 1 !== false) {
@@ -47,4 +50,3 @@ if (new Boolean(true) < new Number(1) !== false) {
if (new Number(1) < new Boolean(true) !== false) {
$ERROR('#8: new Number(1) < new Boolean(true) === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.2.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.2.js
index e67f1c50a..1cfa1dd93 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.2.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.2.js
@@ -1,12 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y)
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A3.1_T2.2.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and String (primitive and object)
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x < y returns ToNumber(x) < ToNumber(y)
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between Number (primitive or object) and String
+ (primitive and object)
+---*/
//CHECK#1
if ("1" < 1 !== false) {
@@ -57,4 +60,3 @@ if ("x" < 1 !== false) {
if (1 < "x" !== false) {
$ERROR('#10: 1 < "x" === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.3.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.3.js
index 32d4fa5fa..cc69728eb 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.3.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.3.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y)
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A3.1_T2.3.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Null
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x < y returns ToNumber(x) < ToNumber(y)
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between Number (primitive or object) and Null
+---*/
//CHECK#1
if (1 < null !== false) {
@@ -27,4 +29,3 @@ if (new Number(1) < null !== false) {
if (null < new Number(1) !== true) {
$ERROR('#4: null < new Number(1) === true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.4.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.4.js
index 19ce587cb..e670bb93f 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.4.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.4.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y)
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A3.1_T2.4.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Undefined
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x < y returns ToNumber(x) < ToNumber(y)
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between Number (primitive or object) and Undefined
+---*/
//CHECK#1
if (1 < undefined !== false) {
@@ -27,4 +29,3 @@ if (new Number(1) < undefined !== false) {
if (undefined < new Number(1) !== false) {
$ERROR('#4: undefined < new Number(1) === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.5.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.5.js
index 2ec157c85..e4646e627 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.5.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.5.js
@@ -1,12 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y)
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A3.1_T2.5.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Boolean (primitive and object)
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x < y returns ToNumber(x) < ToNumber(y)
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between String (primitive or object) and Boolean
+ (primitive and object)
+---*/
//CHECK#1
if (true < "1" !== false) {
@@ -47,4 +50,3 @@ if (new Boolean(true) < new String("1") !== false) {
if (new String("1") < new Boolean(true) !== false) {
$ERROR('#8: new String("1") < new Boolean(true) === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.6.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.6.js
index de4ef0016..8075a0b52 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.6.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.6.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y)
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A3.1_T2.6.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Undefined
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x < y returns ToNumber(x) < ToNumber(y)
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between String (primitive or object) and Undefined
+---*/
//CHECK#1
if ("1" < undefined !== false) {
@@ -27,4 +29,3 @@ if (new String("1") < undefined !== false) {
if (undefined < new String("1") !== false) {
$ERROR('#4: undefined < new String("1") === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.7.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.7.js
index 97e9c8fdd..92c9d8bb4 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.7.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.7.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y)
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A3.1_T2.7.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Null
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x < y returns ToNumber(x) < ToNumber(y)
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between String (primitive or object) and Null
+---*/
//CHECK#1
if ("1" < null !== false) {
@@ -27,4 +29,3 @@ if (new String("1") < null !== false) {
if (null < new String("1") !== true) {
$ERROR('#4: null < new String("1") === true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.8.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.8.js
index dcd5dfef8..fa5c1162e 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.8.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.8.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y)
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A3.1_T2.8.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Undefined
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x < y returns ToNumber(x) < ToNumber(y)
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between Boolean (primitive or object) and Undefined
+---*/
//CHECK#1
if (true < undefined !== false) {
@@ -27,4 +29,3 @@ if (new Boolean(true) < undefined !== false) {
if (undefined < new Boolean(true) !== false) {
$ERROR('#4: undefined < new Boolean(true) === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.9.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.9.js
index 3e47b7d07..0abc5e65d 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.9.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.1_T2.9.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x < y returns ToNumber(x) < ToNumber(y)
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A3.1_T2.9.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Null
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x < y returns ToNumber(x) < ToNumber(y)
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between Boolean (primitive or object) and Null
+---*/
//CHECK#1
if (true < null !== false) {
@@ -27,4 +29,3 @@ if (new Boolean(true) < null !== false) {
if (null < new Boolean(true) !== true) {
$ERROR('#4: null < new Boolean(true) === true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.2_T1.1.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.2_T1.1.js
index 9e1cb7811..4162b4215 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.2_T1.1.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.2_T1.1.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x < y returns ToString(x) < ToString(y), if Type(Primitive(x)) is String and Type(Primitive(y)) is String
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A3.2_T1.1.js
- * @description Type(Primitive(x)) and Type(Primitive(y)) vary between primitive string and String object
- */
+/*---
+info: >
+ Operator x < y returns ToString(x) < ToString(y), if Type(Primitive(x))
+ is String and Type(Primitive(y)) is String
+description: >
+ Type(Primitive(x)) and Type(Primitive(y)) vary between primitive
+ string and String object
+---*/
//CHECK#1
if ("1" < "1" !== false) {
@@ -37,4 +39,3 @@ if ("x" < "1" !== false) {
if ("1" < "x" !== true) {
$ERROR('#6: "1" < "x" === true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.2_T1.2.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.2_T1.2.js
index 47068903b..b2fb8b33e 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.2_T1.2.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A3.2_T1.2.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x < y returns ToString(x) < ToString(y), if Type(Primitive(x)) is String and Type(Primitive(y)) is String
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A3.2_T1.2.js
- * @description Type(Primitive(x)) and Type(Primitive(y)) vary between Object object and Function object
- */
+/*---
+info: >
+ Operator x < y returns ToString(x) < ToString(y), if Type(Primitive(x))
+ is String and Type(Primitive(y)) is String
+description: >
+ Type(Primitive(x)) and Type(Primitive(y)) vary between Object
+ object and Function object
+---*/
//CHECK#1
if (({} < function(){return 1}) !== ({}.toString() < function(){return 1}.toString())) {
@@ -27,4 +29,3 @@ if ((function(){return 1} < function(){return 1}) !== (function(){return 1}.toSt
if (({} < {}) !== ({}.toString() < {}.toString())) {
$ERROR('#4: ({} < {}) === ({}.toString() < {}.toString())');
}
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.1.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.1.js
index 5dee6e657..a800a90b3 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.1.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If x is NaN, return false (if result in 11.8.5 is undefined, return false)
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A4.1.js
- * @description y is number primitive
- */
+/*---
+info: If x is NaN, return false (if result in 11.8.5 is undefined, return false)
+description: y is number primitive
+---*/
//CHECK#1
if ((Number.NaN < 0) !== false) {
@@ -47,5 +45,3 @@ if ((Number.NaN < Number.MAX_VALUE) !== false) {
if ((Number.NaN < Number.MIN_VALUE) !== false) {
$ERROR('#8: (NaN < Number.MIN_VALUE) === false');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.10.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.10.js
index 2caacdc42..90cad8e44 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.10.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.10.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If y is a prefix of x, return false
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A4.10.js
- * @description x and y are string primitives
- */
+/*---
+info: If y is a prefix of x, return false
+description: x and y are string primitives
+---*/
//CHECK#1
if (("x" < "x") !== false) {
@@ -38,5 +36,3 @@ var x = "x";
if ((x + "y" < x) !== false) {
$ERROR('#6: var x = "x"; (x + "y" < x) === false');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.11.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.11.js
index 2c87da030..4e6639e64 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.11.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.11.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If x is a prefix of y and x !== y, return true
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A4.11.js
- * @description x and y are string primitives
- */
+/*---
+info: If x is a prefix of y and x !== y, return true
+description: x and y are string primitives
+---*/
//CHECK#1
if (("x" < "x ") !== true) {
@@ -48,6 +46,3 @@ if (("a\u0000" < "a\u0000a") !== true) {
if (("x" < " x") !== false) {
$ERROR('#8: ("x" < " x") === false');
}
-
-
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.12_T1.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.12_T1.js
index b8f0eb78d..53d120b3b 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.12_T1.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.12_T1.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If neither x, nor y is a prefix of each other, returned result of strings comparison applies a simple lexicographic ordering to the sequences of code point value values
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A4.12_T1.js
- * @description x and y are string primitives
- */
+/*---
+info: >
+ If neither x, nor y is a prefix of each other, returned result of strings
+ comparison applies a simple lexicographic ordering to the sequences of
+ code point value values
+description: x and y are string primitives
+---*/
//CHECK#1
if (("xx" < "xy") !== true) {
@@ -42,4 +43,3 @@ if (("a\u0000a" < "a\u0000b") !== true) {
if (("aB" < "aa") !== true) {
$ERROR('#7: ("aB" < aa") === true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.12_T2.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.12_T2.js
index 0b0e2d5fb..626cacb8a 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.12_T2.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.12_T2.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If neither x, nor y is a prefix of each other, returned result of strings comparison applies a simple lexicographic ordering to the sequences of code point value values
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A4.12_T2.js
- * @description x and y are string primitives
- */
+/*---
+info: >
+ If neither x, nor y is a prefix of each other, returned result of strings
+ comparison applies a simple lexicographic ordering to the sequences of
+ code point value values
+description: x and y are string primitives
+---*/
//CHECK#1
if (("0" < "x") !== true) {
@@ -42,4 +43,3 @@ if (("+1" < "-1") !== true) {
if (("1" < "1e-10") !== true) {
$ERROR('#7: ("1" < "1e-10") !== true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.2.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.2.js
index 2ab4adeb4..37053563b 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.2.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If y is NaN, return false (if result in 11.8.5 is undefined, return false)
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A4.2.js
- * @description x is number primitive
- */
+/*---
+info: If y is NaN, return false (if result in 11.8.5 is undefined, return false)
+description: x is number primitive
+---*/
//CHECK#1
if ((0 < Number.NaN) !== false) {
@@ -47,5 +45,3 @@ if ((Number.MAX_VALUE < Number.NaN) !== false) {
if ((Number.MIN_VALUE < Number.NaN) !== false) {
$ERROR('#8: (Number.MIN_VALUE < NaN) === false');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.3.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.3.js
index 1fa8a4988..059099478 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.3.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.3.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If x and y are the same number value, return false
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A4.3.js
- * @description x and y are number primitives
- */
+/*---
+info: If x and y are the same number value, return false
+description: x and y are number primitives
+---*/
//CHECK#1
if ((1 < 1) !== false) {
@@ -42,6 +40,3 @@ if ((Number.MAX_VALUE < Number.MAX_VALUE) !== false) {
if ((Number.MIN_VALUE < Number.MIN_VALUE) !== false) {
$ERROR('#7: (Number.MIN_VALUE < Number.MIN_VALUE) === false');
}
-
-
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.4.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.4.js
index d04541e42..9e4298548 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.4.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.4.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If x and y are +0 and -0, return false
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A4.4.js
- * @description Checking all combinations
- */
+/*---
+info: If x and y are +0 and -0, return false
+description: Checking all combinations
+---*/
//CHECK#1
if ((0 < 0) !== false) {
@@ -27,5 +25,3 @@ if ((+0 < -0) !== false) {
if ((-0 < +0) !== false) {
$ERROR('#4: (-0 < +0) === false');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.5.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.5.js
index d874e0fde..e90599eb8 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.5.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.5.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If x is +Infinity, return false
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A4.5.js
- * @description y is number primitive
- */
+/*---
+info: If x is +Infinity, return false
+description: y is number primitive
+---*/
//CHECK#1
if ((Number.POSITIVE_INFINITY < 0) !== false) {
@@ -37,5 +35,3 @@ if ((Number.POSITIVE_INFINITY < Number.MAX_VALUE) !== false) {
if ((Number.POSITIVE_INFINITY < Number.MIN_VALUE) !== false) {
$ERROR('#6: (+Infinity < Number.MIN_VALUE) === false');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.6.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.6.js
index 2dce0a45a..203a4253d 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.6.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.6.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If y is +Infinity and x !== y, return true
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A4.6.js
- * @description x is number primitive
- */
+/*---
+info: If y is +Infinity and x !== y, return true
+description: x is number primitive
+---*/
//CHECK#1
if ((0 < Number.POSITIVE_INFINITY) !== true) {
@@ -37,5 +35,3 @@ if ((Number.MAX_VALUE < Number.POSITIVE_INFINITY) !== true) {
if ((Number.MIN_VALUE < Number.POSITIVE_INFINITY) !== true) {
$ERROR('#6: (Number.MIN_VALUE < +Infinity) === true');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.7.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.7.js
index a54ec57be..4ad7c3b88 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.7.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.7.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If x is -Infinity and x !== y, return true
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A4.7.js
- * @description y is number primitive
- */
+/*---
+info: If x is -Infinity and x !== y, return true
+description: y is number primitive
+---*/
//CHECK#1
if ((Number.NEGATIVE_INFINITY < 0) !== true) {
@@ -37,5 +35,3 @@ if ((Number.NEGATIVE_INFINITY < Number.MAX_VALUE) !== true) {
if ((Number.NEGATIVE_INFINITY < Number.MIN_VALUE) !== true) {
$ERROR('#6: (-Infinity < Number.MIN_VALUE) === true');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.8.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.8.js
index ac5202d5a..e37961598 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.8.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.8.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If y is -Infinity, return false
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A4.8.js
- * @description x is number primitive
- */
+/*---
+info: If y is -Infinity, return false
+description: x is number primitive
+---*/
//CHECK#1
if ((0 < Number.NEGATIVE_INFINITY) !== false) {
@@ -37,5 +35,3 @@ if ((Number.MAX_VALUE < Number.NEGATIVE_INFINITY) !== false) {
if ((Number.MIN_VALUE < Number.NEGATIVE_INFINITY) !== false) {
$ERROR('#6: (Number.MIN_VALUE < -Infinity) === false');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.9.js b/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.9.js
index 32839492c..f2a18ea24 100644
--- a/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.9.js
+++ b/test/suite/ch11/11.8/11.8.1/S11.8.1_A4.9.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If x is less than y and these values are both finite non-zero, return true; otherwise, return false
- *
- * @path ch11/11.8/11.8.1/S11.8.1_A4.9.js
- * @description x and y are number primitives
- */
+/*---
+info: >
+ If x is less than y and these values are both finite non-zero, return
+ true; otherwise, return false
+description: x and y are number primitives
+---*/
//CHECK#1
if ((1.1 < 1) !== false) {
@@ -47,6 +47,3 @@ if ((Number.MAX_VALUE/2 < Number.MAX_VALUE) !== true) {
if ((Number.MIN_VALUE < Number.MIN_VALUE*2) !== true) {
$ERROR('#8: (Number.MIN_VALUE < Number.MIN_VALUE*2) === true');
}
-
-
-
diff --git a/test/suite/ch11/11.8/11.8.2/11.8.2-1.js b/test/suite/ch11/11.8/11.8.2/11.8.2-1.js
index 97270dca2..bdfd48b1e 100644
--- a/test/suite/ch11/11.8/11.8.2/11.8.2-1.js
+++ b/test/suite/ch11/11.8/11.8.2/11.8.2-1.js
@@ -1,31 +1,33 @@
-/// 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 ch11/11.8/11.8.2/11.8.2-1.js
- * @description 11.8.2 Greater-than Operator - Partial left to right order enforced when using Greater-than operator: valueOf > valueOf
- */
-
-
-function testcase() {
- var accessed = false;
- var obj1 = {
- valueOf: function () {
- accessed = true;
- return 3;
- }
- };
- var obj2 = {
- valueOf: function () {
- if (accessed === true) {
- return 4;
- } else {
- return 2;
- }
- }
- };
- return !(obj1 > obj2);
- }
-runTestCase(testcase);
+// 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: >
+ 11.8.2 Greater-than Operator - Partial left to right order
+ enforced when using Greater-than operator: valueOf > valueOf
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ var obj1 = {
+ valueOf: function () {
+ accessed = true;
+ return 3;
+ }
+ };
+ var obj2 = {
+ valueOf: function () {
+ if (accessed === true) {
+ return 4;
+ } else {
+ return 2;
+ }
+ }
+ };
+ return !(obj1 > obj2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch11/11.8/11.8.2/11.8.2-2.js b/test/suite/ch11/11.8/11.8.2/11.8.2-2.js
index 248452e99..a16ce9d77 100644
--- a/test/suite/ch11/11.8/11.8.2/11.8.2-2.js
+++ b/test/suite/ch11/11.8/11.8.2/11.8.2-2.js
@@ -1,31 +1,33 @@
-/// 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 ch11/11.8/11.8.2/11.8.2-2.js
- * @description 11.8.2 Greater-than Operator - Partial left to right order enforced when using Greater-than operator: valueOf > toString
- */
-
-
-function testcase() {
- var accessed = false;
- var obj1 = {
- valueOf: function () {
- accessed = true;
- return 3;
- }
- };
- var obj2 = {
- toString: function () {
- if (accessed === true) {
- return 4;
- } else {
- return 2;
- }
- }
- };
- return !(obj1 > obj2);
- }
-runTestCase(testcase);
+// 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: >
+ 11.8.2 Greater-than Operator - Partial left to right order
+ enforced when using Greater-than operator: valueOf > toString
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ var obj1 = {
+ valueOf: function () {
+ accessed = true;
+ return 3;
+ }
+ };
+ var obj2 = {
+ toString: function () {
+ if (accessed === true) {
+ return 4;
+ } else {
+ return 2;
+ }
+ }
+ };
+ return !(obj1 > obj2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch11/11.8/11.8.2/11.8.2-3.js b/test/suite/ch11/11.8/11.8.2/11.8.2-3.js
index b0db66533..10044b35a 100644
--- a/test/suite/ch11/11.8/11.8.2/11.8.2-3.js
+++ b/test/suite/ch11/11.8/11.8.2/11.8.2-3.js
@@ -1,31 +1,33 @@
-/// 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 ch11/11.8/11.8.2/11.8.2-3.js
- * @description 11.8.2 Greater-than Operator - Partial left to right order enforced when using Greater-than operator: toString > valueOf
- */
-
-
-function testcase() {
- var accessed = false;
- var obj1 = {
- toString: function () {
- accessed = true;
- return 3;
- }
- };
- var obj2 = {
- valueOf: function () {
- if (accessed === true) {
- return 4;
- } else {
- return 2;
- }
- }
- };
- return !(obj1 > obj2);
- }
-runTestCase(testcase);
+// 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: >
+ 11.8.2 Greater-than Operator - Partial left to right order
+ enforced when using Greater-than operator: toString > valueOf
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ var obj1 = {
+ toString: function () {
+ accessed = true;
+ return 3;
+ }
+ };
+ var obj2 = {
+ valueOf: function () {
+ if (accessed === true) {
+ return 4;
+ } else {
+ return 2;
+ }
+ }
+ };
+ return !(obj1 > obj2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch11/11.8/11.8.2/11.8.2-4.js b/test/suite/ch11/11.8/11.8.2/11.8.2-4.js
index 50817010b..f3251060a 100644
--- a/test/suite/ch11/11.8/11.8.2/11.8.2-4.js
+++ b/test/suite/ch11/11.8/11.8.2/11.8.2-4.js
@@ -1,31 +1,33 @@
-/// 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 ch11/11.8/11.8.2/11.8.2-4.js
- * @description 11.8.2 Greater-than Operator - Partial left to right order enforced when using Greater-than operator: toString > toString
- */
-
-
-function testcase() {
- var accessed = false;
- var obj1 = {
- toString: function () {
- accessed = true;
- return 3;
- }
- };
- var obj2 = {
- toString: function () {
- if (accessed === true) {
- return 4;
- } else {
- return 2;
- }
- }
- };
- return !(obj1 > obj2);
- }
-runTestCase(testcase);
+// 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: >
+ 11.8.2 Greater-than Operator - Partial left to right order
+ enforced when using Greater-than operator: toString > toString
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ var obj1 = {
+ toString: function () {
+ accessed = true;
+ return 3;
+ }
+ };
+ var obj2 = {
+ toString: function () {
+ if (accessed === true) {
+ return 4;
+ } else {
+ return 2;
+ }
+ }
+ };
+ return !(obj1 > obj2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A1.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A1.js
index e2d072282..97479c585 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A1.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * White Space and Line Terminator between RelationalExpression and ">" or ">" and ShiftExpression are allowed
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A1.js
- * @description Checking by using eval
- */
+/*---
+info: >
+ White Space and Line Terminator between RelationalExpression and ">" or
+ ">" and ShiftExpression are allowed
+description: Checking by using eval
+---*/
//CHECK#1
if (eval("0\u0009>\u00091") !== false) {
@@ -57,4 +57,3 @@ if (eval("0\u2029>\u20291") !== false) {
if (eval("1\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029>=\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== true) {
$ERROR('#10: (1\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029>=\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A2.1_T1.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A2.1_T1.js
index 9ae91af51..f69901d1e 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A2.1_T1.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A2.1_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x > y uses GetValue
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A2.1_T1.js
- * @description Either Type is not Reference or GetBase is not null
- */
+/*---
+info: Operator x > y uses GetValue
+description: Either Type is not Reference or GetBase is not null
+---*/
//CHECK#1
if (2 > 1 !== true) {
@@ -40,4 +38,3 @@ objecty.prop = 1;
if (objectx.prop > objecty.prop !== true) {
$ERROR('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 2; objecty.prop = 1; objectx.prop > objecty.prop === true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A2.1_T2.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A2.1_T2.js
index c6c0a2c71..2af951486 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A2.1_T2.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A2.1_T2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x > y uses GetValue
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A2.1_T2.js
- * @description If GetBase(x) is null, throw ReferenceError
- */
+/*---
+info: Operator x > y uses GetValue
+description: If GetBase(x) is null, throw ReferenceError
+---*/
//CHECK#1
try {
@@ -18,5 +16,3 @@ catch (e) {
$ERROR('#1.2: x > 1 throw ReferenceError. Actual: ' + (e));
}
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A2.1_T3.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A2.1_T3.js
index bf7dfc5e7..285dff2d9 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A2.1_T3.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A2.1_T3.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x > y uses GetValue
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A2.1_T3.js
- * @description If GetBase(y) is null, throw ReferenceError
- */
+/*---
+info: Operator x > y uses GetValue
+description: If GetBase(y) is null, throw ReferenceError
+---*/
//CHECK#1
try {
@@ -18,5 +16,3 @@ catch (e) {
$ERROR('#1.2: 1 > y throw ReferenceError. Actual: ' + (e));
}
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A2.2_T1.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A2.2_T1.js
index e8d7595ba..213d0fe8b 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A2.2_T1.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A2.2_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x > y uses [[Default Value]]
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A2.2_T1.js
- * @description If Type(value) is Object, evaluate ToPrimitive(value, Number)
- */
+/*---
+info: Operator x > y uses [[Default Value]]
+description: If Type(value) is Object, evaluate ToPrimitive(value, Number)
+---*/
//CHECK#1
if ({valueOf: function() {return 2}} > 1 !== true) {
@@ -68,4 +66,3 @@ catch (e) {
$ERROR('#8.2: 1 > {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e));
}
}
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A2.3_T1.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A2.3_T1.js
index ab2e5a0e5..5a3771536 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A2.3_T1.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A2.3_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * In ES5, First expression should be evaluated first.
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A2.3_T1.js
- * @description Checking that operands of a "<" evaluate left-to-right
- */
+/*---
+info: In ES5, First expression should be evaluated first.
+description: Checking that operands of a "<" evaluate left-to-right
+---*/
//CHECK#1
var x = { valueOf: function () { throw "x"; } };
@@ -23,4 +21,3 @@ try {
}
}
}
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A2.4_T1.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A2.4_T1.js
index ac5f1b540..8f2969c57 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A2.4_T1.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A2.4_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * First expression is evaluated first, and then second expression
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A2.4_T1.js
- * @description Checking with "="
- */
+/*---
+info: First expression is evaluated first, and then second expression
+description: Checking with "="
+---*/
//CHECK#1
var x = 0;
@@ -19,5 +17,3 @@ var x = 1;
if (x > (x = 0) !== true) {
$ERROR('#2: var x = 1; x > (x = 0) === true');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A2.4_T2.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A2.4_T2.js
index 274f117cb..8ba2280ef 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A2.4_T2.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A2.4_T2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * First expression is evaluated first, and then second expression
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A2.4_T2.js
- * @description Checking with "throw"
- */
+/*---
+info: First expression is evaluated first, and then second expression
+description: Checking with "throw"
+---*/
//CHECK#1
var x = function () { throw "x"; };
@@ -23,4 +21,3 @@ try {
}
}
}
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A2.4_T3.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A2.4_T3.js
index d3228fdce..d2663fc9c 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A2.4_T3.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A2.4_T3.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * First expression is evaluated first, and then second expression
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A2.4_T3.js
- * @description Checking with undeclarated variables
- */
+/*---
+info: First expression is evaluated first, and then second expression
+description: Checking with undeclarated variables
+---*/
//CHECK#1
try {
@@ -23,5 +21,3 @@ catch (e) {
if ((y = 1) > y !== false) {
$ERROR('#2: (y = 1) > y === false');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T1.1.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T1.1.js
index 4f69c859e..b771ef1af 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T1.1.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T1.1.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y)
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A3.1_T1.1.js
- * @description Type(Primitive(x)) and Type(Primitive(y)) vary between primitive boolean and Boolean object
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x > y returns ToNumber(x) > ToNumber(y)
+description: >
+ Type(Primitive(x)) and Type(Primitive(y)) vary between primitive
+ boolean and Boolean object
+---*/
//CHECK#1
if (true > true !== false) {
@@ -27,4 +29,3 @@ if (true > new Boolean(true) !== false) {
if (new Boolean(true) > new Boolean(true) !== false) {
$ERROR('#4: new Boolean(true) > new Boolean(true) === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T1.2.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T1.2.js
index 2a076c6c6..852dbea55 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T1.2.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T1.2.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y)
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A3.1_T1.2.js
- * @description Type(Primitive(x)) and Type(Primitive(y)) vary between primitive number and Number object
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x > y returns ToNumber(x) > ToNumber(y)
+description: >
+ Type(Primitive(x)) and Type(Primitive(y)) vary between primitive
+ number and Number object
+---*/
//CHECK#1
if (1 > 1 !== false) {
@@ -27,5 +29,3 @@ if (1 > new Number(1) !== false) {
if (new Number(1) > new Number(1) !== false) {
$ERROR('#4: new Number(1) > new Number(1) === false');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T1.3.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T1.3.js
index 597266349..c8232e307 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T1.3.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T1.3.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y)
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A3.1_T1.3.js
- * @description Type(Primitive(x)) and Type(Primitive(y)) vary between Null and Undefined
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x > y returns ToNumber(x) > ToNumber(y)
+description: >
+ Type(Primitive(x)) and Type(Primitive(y)) vary between Null and
+ Undefined
+---*/
//CHECK#1
if (null > undefined !== false) {
@@ -27,4 +29,3 @@ if (undefined > undefined !== false) {
if (null > null !== false) {
$ERROR('#4: null > null === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.1.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.1.js
index 81ba83400..301311e66 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.1.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.1.js
@@ -1,12 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y)
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A3.1_T2.1.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Boolean (primitive and object)
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x > y returns ToNumber(x) > ToNumber(y)
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between Number (primitive or object) and Boolean
+ (primitive and object)
+---*/
//CHECK#1
if (true > 1 !== false) {
@@ -47,4 +50,3 @@ if (new Boolean(true) > new Number(1) !== false) {
if (new Number(1) > new Boolean(true) !== false) {
$ERROR('#8: new Number(1) > new Boolean(true) === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.2.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.2.js
index 4d6f8fc81..645844957 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.2.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.2.js
@@ -1,12 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y)
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A3.1_T2.2.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and String (primitive and object)
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x > y returns ToNumber(x) > ToNumber(y)
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between Number (primitive or object) and String
+ (primitive and object)
+---*/
//CHECK#1
if ("1" > 1 !== false) {
@@ -57,4 +60,3 @@ if ("x" > 1 !== false) {
if (1 > "x" !== false) {
$ERROR('#10: 1 > "x" === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.3.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.3.js
index 63ec06aac..46726dd7e 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.3.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.3.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y)
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A3.1_T2.3.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Null
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x > y returns ToNumber(x) > ToNumber(y)
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between Number (primitive or object) and Null
+---*/
//CHECK#1
if (1 > null !== true) {
@@ -27,4 +29,3 @@ if (new Number(1) > null !== true) {
if (null > new Number(1) !== false) {
$ERROR('#4: null > new Number(1) === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.4.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.4.js
index d98572cc5..d3d67d7b0 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.4.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.4.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y)
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A3.1_T2.4.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Undefined
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x > y returns ToNumber(x) > ToNumber(y)
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between Number (primitive or object) and Undefined
+---*/
//CHECK#1
if (1 > undefined !== false) {
@@ -27,4 +29,3 @@ if (new Number(1) > undefined !== false) {
if (undefined > new Number(1) !== false) {
$ERROR('#4: undefined > new Number(1) === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.5.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.5.js
index b739bd4dc..6f6697d25 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.5.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.5.js
@@ -1,12 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y)
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A3.1_T2.5.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Boolean (primitive and object)
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x > y returns ToNumber(x) > ToNumber(y)
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between String (primitive or object) and Boolean
+ (primitive and object)
+---*/
//CHECK#1
if (true > "1" !== false) {
@@ -47,4 +50,3 @@ if (new Boolean(true) > new String("1") !== false) {
if (new String("1") > new Boolean(true) !== false) {
$ERROR('#8: new String("1") > new Boolean(true) === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.6.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.6.js
index 839884f83..7945e81af 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.6.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.6.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y)
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A3.1_T2.6.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Undefined
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x > y returns ToNumber(x) > ToNumber(y)
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between String (primitive or object) and Undefined
+---*/
//CHECK#1
if ("1" > undefined !== false) {
@@ -27,4 +29,3 @@ if (new String("1") > undefined !== false) {
if (undefined > new String("1") !== false) {
$ERROR('#4: undefined > new String("1") === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.7.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.7.js
index 5b44d0a70..8e29e4d08 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.7.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.7.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y)
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A3.1_T2.7.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Null
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x > y returns ToNumber(x) > ToNumber(y)
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between String (primitive or object) and Null
+---*/
//CHECK#1
if ("1" > null !== true) {
@@ -27,4 +29,3 @@ if (new String("1") > null !== true) {
if (null > new String("1") !== false) {
$ERROR('#4: null > new String("1") === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.8.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.8.js
index 3a3c48e7a..43fe1d76f 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.8.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.8.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y)
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A3.1_T2.8.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Undefined
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x > y returns ToNumber(x) > ToNumber(y)
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between Boolean (primitive or object) and Undefined
+---*/
//CHECK#1
if (true > undefined !== false) {
@@ -27,4 +29,3 @@ if (new Boolean(true) > undefined !== false) {
if (undefined > new Boolean(true) !== false) {
$ERROR('#4: undefined > new Boolean(true) === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.9.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.9.js
index 32c04b23a..a87818f4e 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.9.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.1_T2.9.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x > y returns ToNumber(x) > ToNumber(y)
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A3.1_T2.9.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Null
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x > y returns ToNumber(x) > ToNumber(y)
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between Boolean (primitive or object) and Null
+---*/
//CHECK#1
if (true > null !== true) {
@@ -27,4 +29,3 @@ if (new Boolean(true) > null !== true) {
if (null > new Boolean(true) !== false) {
$ERROR('#4: null > new Boolean(true) === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.2_T1.1.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.2_T1.1.js
index fb0bcb016..d4644e0ed 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.2_T1.1.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.2_T1.1.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is String and Type(Primitive(y)) is String, then operator x > y returns ToString(x) > ToString(y)
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A3.2_T1.1.js
- * @description Type(Primitive(x)) and Type(Primitive(y)) vary between primitive string and String object
- */
+/*---
+info: >
+ If Type(Primitive(x)) is String and Type(Primitive(y)) is String, then
+ operator x > y returns ToString(x) > ToString(y)
+description: >
+ Type(Primitive(x)) and Type(Primitive(y)) vary between primitive
+ string and String object
+---*/
//CHECK#1
if ("1" > "1" !== false) {
@@ -37,4 +39,3 @@ if ("x" > "1" !== true) {
if ("1" > "x" !== false) {
$ERROR('#6: "1" > "x" === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.2_T1.2.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.2_T1.2.js
index cf6e2889b..8152ec3cd 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.2_T1.2.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A3.2_T1.2.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is String and Type(Primitive(y)) is String, then operator x > y returns ToString(x) > ToString(y)
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A3.2_T1.2.js
- * @description Type(Primitive(x)) and Type(Primitive(y)) vary between Object object and Function object
- */
+/*---
+info: >
+ If Type(Primitive(x)) is String and Type(Primitive(y)) is String, then
+ operator x > y returns ToString(x) > ToString(y)
+description: >
+ Type(Primitive(x)) and Type(Primitive(y)) vary between Object
+ object and Function object
+---*/
//CHECK#1
if (({} > function(){return 1}) !== ({}.toString() > function(){return 1}.toString())) {
@@ -27,4 +29,3 @@ if ((function(){return 1} > function(){return 1}) !== (function(){return 1}.toSt
if (({} > {}) !== ({}.toString() > {}.toString())) {
$ERROR('#4: ({} > {}) === ({}.toString() > {}.toString())');
}
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.1.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.1.js
index a36cb0b92..895539255 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.1.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If x is NaN, return false (if result in 11.8.5 is undefined, return false)
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A4.1.js
- * @description y is number primitive
- */
+/*---
+info: If x is NaN, return false (if result in 11.8.5 is undefined, return false)
+description: y is number primitive
+---*/
//CHECK#1
if ((Number.NaN > 0) !== false) {
@@ -47,5 +45,3 @@ if ((Number.NaN > Number.MAX_VALUE) !== false) {
if ((Number.NaN > Number.MIN_VALUE) !== false) {
$ERROR('#8: (NaN > Number.MIN_VALUE) === false');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.10.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.10.js
index eef094d97..bb60ad877 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.10.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.10.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If x is a prefix of y, return false
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A4.10.js
- * @description x and y are string primitives
- */
+/*---
+info: If x is a prefix of y, return false
+description: x and y are string primitives
+---*/
//CHECK#1
if (("x" > "x") !== false) {
@@ -38,4 +36,3 @@ var x = "x";
if ((x > x + "y") !== false) {
$ERROR('#6: var x = "x"; (x > x + "y") === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.11.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.11.js
index 76da4cc14..cdc7efef3 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.11.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.11.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If y is a prefix of x and x !== y, return true
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A4.11.js
- * @description x and y are string primitives
- */
+/*---
+info: If y is a prefix of x and x !== y, return true
+description: x and y are string primitives
+---*/
//CHECK#1
if (("x " > "x") !== true) {
@@ -48,5 +46,3 @@ if (("a\u0000a" > "a\u0000") !== true) {
if ((" x" > "x") !== false) {
$ERROR('#8: (" x" > "x") === false');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.12_T1.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.12_T1.js
index 4bd4fb2ab..732ddaad4 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.12_T1.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.12_T1.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If neither x, nor y is a prefix of each other, returned result of strings comparison applies a simple lexicographic ordering to the sequences of code point value values
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A4.12_T1.js
- * @description x and y are string primitives
- */
+/*---
+info: >
+ If neither x, nor y is a prefix of each other, returned result of strings
+ comparison applies a simple lexicographic ordering to the sequences of
+ code point value values
+description: x and y are string primitives
+---*/
//CHECK#1
if (("xy" > "xx") !== true) {
@@ -42,4 +43,3 @@ if (("a\u0000b" > "a\u0000a") !== true) {
if (("aa" > "aB") !== true) {
$ERROR('#7: ("aa" > aB") === true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.12_T2.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.12_T2.js
index ab16d98cb..7d399d8b2 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.12_T2.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.12_T2.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If neither x, nor y is a prefix of each other, returned result of strings comparison applies a simple lexicographic ordering to the sequences of code point value values
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A4.12_T2.js
- * @description x and y are string primitives
- */
+/*---
+info: >
+ If neither x, nor y is a prefix of each other, returned result of strings
+ comparison applies a simple lexicographic ordering to the sequences of
+ code point value values
+description: x and y are string primitives
+---*/
//CHECK#1
if (("x" > "0") !== true) {
@@ -42,4 +43,3 @@ if (("-1" > "+1") !== true) {
if (("1e-10" > "1") !== true) {
$ERROR('#7: ("1e-10" > "1") !== true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.2.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.2.js
index 1e81c52fe..334cdf7eb 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.2.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If y is NaN, return false (if result in 11.8.5 is undefined, return false)
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A4.2.js
- * @description x is number primitive
- */
+/*---
+info: If y is NaN, return false (if result in 11.8.5 is undefined, return false)
+description: x is number primitive
+---*/
//CHECK#1
if ((0 > Number.NaN) !== false) {
@@ -47,5 +45,3 @@ if ((Number.MAX_VALUE > Number.NaN) !== false) {
if ((Number.MIN_VALUE > Number.NaN) !== false) {
$ERROR('#8: (Number.MIN_VALUE > NaN) === false');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.3.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.3.js
index 8890a00e1..6b6dfdf28 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.3.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.3.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If x and y are the same number value, return false
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A4.3.js
- * @description x and y are number primitives
- */
+/*---
+info: If x and y are the same number value, return false
+description: x and y are number primitives
+---*/
//CHECK#1
if ((1 > 1) !== false) {
@@ -42,6 +40,3 @@ if ((Number.MAX_VALUE > Number.MAX_VALUE) !== false) {
if ((Number.MIN_VALUE > Number.MIN_VALUE) !== false) {
$ERROR('#7: (Number.MIN_VALUE > Number.MIN_VALUE) === false');
}
-
-
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.4.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.4.js
index 70a5440ca..b40ff199c 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.4.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.4.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If either variable x or y is +0 and the other is -0, return false
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A4.4.js
- * @description Checking all combinations
- */
+/*---
+info: If either variable x or y is +0 and the other is -0, return false
+description: Checking all combinations
+---*/
//CHECK#1
if ((0 > 0) !== false) {
@@ -27,5 +25,3 @@ if ((+0 > -0) !== false) {
if ((-0 > +0) !== false) {
$ERROR('#4: (-0 > +0) === false');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.5.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.5.js
index 79d3bde31..a781439d0 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.5.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.5.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If x is +Infinity and x !== y, return true
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A4.5.js
- * @description y is number primitive
- */
+/*---
+info: If x is +Infinity and x !== y, return true
+description: y is number primitive
+---*/
//CHECK#1
if ((Number.POSITIVE_INFINITY > 0) !== true) {
@@ -37,5 +35,3 @@ if ((Number.POSITIVE_INFINITY > Number.MAX_VALUE) !== true) {
if ((Number.POSITIVE_INFINITY > Number.MIN_VALUE) !== true) {
$ERROR('#6: (+Infinity > Number.MIN_VALUE) === true');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.6.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.6.js
index aa96e699d..46769b13d 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.6.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.6.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If y is +Infinity, return false
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A4.6.js
- * @description x is number primitive
- */
+/*---
+info: If y is +Infinity, return false
+description: x is number primitive
+---*/
//CHECK#1
if ((0 > Number.POSITIVE_INFINITY) !== false) {
@@ -37,5 +35,3 @@ if ((Number.MAX_VALUE > Number.POSITIVE_INFINITY) !== false) {
if ((Number.MIN_VALUE > Number.POSITIVE_INFINITY) !== false) {
$ERROR('#6: (Number.MIN_VALUE > +Infinity) === false');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.7.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.7.js
index bc06818cc..b5a3fac9a 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.7.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.7.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If x is -Infinity, return false
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A4.7.js
- * @description y is number primitive
- */
+/*---
+info: If x is -Infinity, return false
+description: y is number primitive
+---*/
//CHECK#1
if ((Number.NEGATIVE_INFINITY > 0) !== false) {
@@ -37,5 +35,3 @@ if ((Number.NEGATIVE_INFINITY > Number.MAX_VALUE) !== false) {
if ((Number.NEGATIVE_INFINITY > Number.MIN_VALUE) !== false) {
$ERROR('#6: (-Infinity > Number.MIN_VALUE) === false');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.8.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.8.js
index 3a3156114..f3a7865d8 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.8.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.8.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If y is -Infinity and x !== y, return true
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A4.8.js
- * @description x is number primitive
- */
+/*---
+info: If y is -Infinity and x !== y, return true
+description: x is number primitive
+---*/
//CHECK#1
if ((0 > Number.NEGATIVE_INFINITY) !== true) {
@@ -37,5 +35,3 @@ if ((Number.MAX_VALUE > Number.NEGATIVE_INFINITY) !== true) {
if ((Number.MIN_VALUE > Number.NEGATIVE_INFINITY) !== true) {
$ERROR('#6: (Number.MIN_VALUE > -Infinity) === true');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.9.js b/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.9.js
index a31255368..fea57ae14 100644
--- a/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.9.js
+++ b/test/suite/ch11/11.8/11.8.2/S11.8.2_A4.9.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If is x greater than y and these values are both finite non-zero, return true; otherwise, return false
- *
- * @path ch11/11.8/11.8.2/S11.8.2_A4.9.js
- * @description x and y are number primitives
- */
+/*---
+info: >
+ If is x greater than y and these values are both finite non-zero, return
+ true; otherwise, return false
+description: x and y are number primitives
+---*/
//CHECK#1
if ((1 > 1.1) !== false) {
@@ -47,6 +47,3 @@ if ((Number.MAX_VALUE > Number.MAX_VALUE/2) !== true) {
if ((Number.MIN_VALUE*2 > Number.MIN_VALUE) !== true) {
$ERROR('#8: (Number.MIN_VALUE*2 > Number.MIN_VALUE) === true');
}
-
-
-
diff --git a/test/suite/ch11/11.8/11.8.3/11.8.3-1.js b/test/suite/ch11/11.8/11.8.3/11.8.3-1.js
index 4dc765ee2..eff46d7c7 100644
--- a/test/suite/ch11/11.8/11.8.3/11.8.3-1.js
+++ b/test/suite/ch11/11.8/11.8.3/11.8.3-1.js
@@ -1,31 +1,33 @@
-/// 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 ch11/11.8/11.8.3/11.8.3-1.js
- * @description 11.8.3 Less-than-or-equal Operator - Partial left to right order enforced when using Less-than-or-equal operator: valueOf <= valueOf
- */
-
-
-function testcase() {
- var accessed = false;
- var obj1 = {
- valueOf: function () {
- accessed = true;
- return 3;
- }
- };
- var obj2 = {
- valueOf: function () {
- if (accessed === true) {
- return 4;
- } else {
- return 2;
- }
- }
- };
- return (obj1 <= obj2);
- }
-runTestCase(testcase);
+// 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: >
+ 11.8.3 Less-than-or-equal Operator - Partial left to right order
+ enforced when using Less-than-or-equal operator: valueOf <= valueOf
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ var obj1 = {
+ valueOf: function () {
+ accessed = true;
+ return 3;
+ }
+ };
+ var obj2 = {
+ valueOf: function () {
+ if (accessed === true) {
+ return 4;
+ } else {
+ return 2;
+ }
+ }
+ };
+ return (obj1 <= obj2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch11/11.8/11.8.3/11.8.3-2.js b/test/suite/ch11/11.8/11.8.3/11.8.3-2.js
index 0ff108b51..1f71eb65a 100644
--- a/test/suite/ch11/11.8/11.8.3/11.8.3-2.js
+++ b/test/suite/ch11/11.8/11.8.3/11.8.3-2.js
@@ -1,31 +1,34 @@
-/// 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 ch11/11.8/11.8.3/11.8.3-2.js
- * @description 11.8.3 Less-than-or-equal Operator - Partial left to right order enforced when using Less-than-or-equal operator: valueOf <= toString
- */
-
-
-function testcase() {
- var accessed = false;
- var obj1 = {
- valueOf: function () {
- accessed = true;
- return 3;
- }
- };
- var obj2 = {
- toString: function () {
- if (accessed === true) {
- return 4;
- } else {
- return 2;
- }
- }
- };
- return (obj1 <= obj2);
- }
-runTestCase(testcase);
+// 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: >
+ 11.8.3 Less-than-or-equal Operator - Partial left to right order
+ enforced when using Less-than-or-equal operator: valueOf <=
+ toString
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ var obj1 = {
+ valueOf: function () {
+ accessed = true;
+ return 3;
+ }
+ };
+ var obj2 = {
+ toString: function () {
+ if (accessed === true) {
+ return 4;
+ } else {
+ return 2;
+ }
+ }
+ };
+ return (obj1 <= obj2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch11/11.8/11.8.3/11.8.3-3.js b/test/suite/ch11/11.8/11.8.3/11.8.3-3.js
index 2f5deae83..74ee56966 100644
--- a/test/suite/ch11/11.8/11.8.3/11.8.3-3.js
+++ b/test/suite/ch11/11.8/11.8.3/11.8.3-3.js
@@ -1,31 +1,34 @@
-/// 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 ch11/11.8/11.8.3/11.8.3-3.js
- * @description 11.8.3 Less-than-or-equal Operator - Partial left to right order enforced when using Less-than-or-equal operator: toString <= valueOf
- */
-
-
-function testcase() {
- var accessed = false;
- var obj1 = {
- toString: function () {
- accessed = true;
- return 3;
- }
- };
- var obj2 = {
- valueOf: function () {
- if (accessed === true) {
- return 4;
- } else {
- return 2;
- }
- }
- };
- return (obj1 <= obj2);
- }
-runTestCase(testcase);
+// 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: >
+ 11.8.3 Less-than-or-equal Operator - Partial left to right order
+ enforced when using Less-than-or-equal operator: toString <=
+ valueOf
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ var obj1 = {
+ toString: function () {
+ accessed = true;
+ return 3;
+ }
+ };
+ var obj2 = {
+ valueOf: function () {
+ if (accessed === true) {
+ return 4;
+ } else {
+ return 2;
+ }
+ }
+ };
+ return (obj1 <= obj2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch11/11.8/11.8.3/11.8.3-4.js b/test/suite/ch11/11.8/11.8.3/11.8.3-4.js
index 9105f9e6f..afbd3707b 100644
--- a/test/suite/ch11/11.8/11.8.3/11.8.3-4.js
+++ b/test/suite/ch11/11.8/11.8.3/11.8.3-4.js
@@ -1,31 +1,34 @@
-/// 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 ch11/11.8/11.8.3/11.8.3-4.js
- * @description 11.8.3 Less-than-or-equal Operator - Partial left to right order enforced when using Less-than-or-equal operator: toString <= toString
- */
-
-
-function testcase() {
- var accessed = false;
- var obj1 = {
- toString: function () {
- accessed = true;
- return 3;
- }
- };
- var obj2 = {
- toString: function () {
- if (accessed === true) {
- return 4;
- } else {
- return 2;
- }
- }
- };
- return (obj1 <= obj2);
- }
-runTestCase(testcase);
+// 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: >
+ 11.8.3 Less-than-or-equal Operator - Partial left to right order
+ enforced when using Less-than-or-equal operator: toString <=
+ toString
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ var obj1 = {
+ toString: function () {
+ accessed = true;
+ return 3;
+ }
+ };
+ var obj2 = {
+ toString: function () {
+ if (accessed === true) {
+ return 4;
+ } else {
+ return 2;
+ }
+ }
+ };
+ return (obj1 <= obj2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch11/11.8/11.8.3/11.8.3-5.js b/test/suite/ch11/11.8/11.8.3/11.8.3-5.js
index 9356ff34e..4febb1028 100644
--- a/test/suite/ch11/11.8/11.8.3/11.8.3-5.js
+++ b/test/suite/ch11/11.8/11.8.3/11.8.3-5.js
@@ -1,31 +1,33 @@
-/// 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 ch11/11.8/11.8.3/11.8.3-5.js
- * @description 11.8.3 Less-than-or-equal Operator - Partial left to right order enforced when using Less-than-or-equal operator: valueOf <= valueOf
- */
-
-
-function testcase() {
- var accessed = false;
- var obj1 = {
- valueOf: function () {
- accessed = true;
- return 3;
- }
- };
- var obj2 = {
- valueOf: function () {
- if (accessed === true) {
- return 3;
- } else {
- return 2;
- }
- }
- };
- return (obj1 <= obj2);
- }
-runTestCase(testcase);
+// 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: >
+ 11.8.3 Less-than-or-equal Operator - Partial left to right order
+ enforced when using Less-than-or-equal operator: valueOf <= valueOf
+includes: [runTestCase.js]
+---*/
+
+function testcase() {
+ var accessed = false;
+ var obj1 = {
+ valueOf: function () {
+ accessed = true;
+ return 3;
+ }
+ };
+ var obj2 = {
+ valueOf: function () {
+ if (accessed === true) {
+ return 3;
+ } else {
+ return 2;
+ }
+ }
+ };
+ return (obj1 <= obj2);
+ }
+runTestCase(testcase);
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A1.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A1.js
index 905571139..2b4857288 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A1.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * White Space and Line Terminator between RelationalExpression and "<=" or between "<=" and ShiftExpression are allowed
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A1.js
- * @description Checking by using eval
- */
+/*---
+info: >
+ White Space and Line Terminator between RelationalExpression and "<=" or
+ between "<=" and ShiftExpression are allowed
+description: Checking by using eval
+---*/
//CHECK#1
if (eval("1\u0009<=\u00091") !== true) {
@@ -57,4 +57,3 @@ if (eval("1\u2029<=\u20291") !== true) {
if (eval("1\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029>\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20290") !== true) {
$ERROR('#10: (1\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029>\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20290) === true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A2.1_T1.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A2.1_T1.js
index ddf5cde6d..fcd1ca920 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A2.1_T1.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A2.1_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x <= y uses GetValue
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A2.1_T1.js
- * @description Either Type is not Reference or GetBase is not null
- */
+/*---
+info: Operator x <= y uses GetValue
+description: Either Type is not Reference or GetBase is not null
+---*/
//CHECK#1
if (1 <= 1 !== true) {
@@ -40,4 +38,3 @@ objecty.prop = 1;
if (objectx.prop <= objecty.prop !== true) {
$ERROR('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 1; objectx.prop <= objecty.prop === true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A2.1_T2.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A2.1_T2.js
index b767e2d95..5072f1057 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A2.1_T2.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A2.1_T2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x <= y uses GetValue
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A2.1_T2.js
- * @description If GetBase(x) is null, throw ReferenceError
- */
+/*---
+info: Operator x <= y uses GetValue
+description: If GetBase(x) is null, throw ReferenceError
+---*/
//CHECK#1
try {
@@ -18,4 +16,3 @@ catch (e) {
$ERROR('#1.2: x <= 1 throw ReferenceError. Actual: ' + (e));
}
}
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A2.1_T3.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A2.1_T3.js
index d2a4df17b..aad9b5392 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A2.1_T3.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A2.1_T3.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x <= y uses GetValue
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A2.1_T3.js
- * @description If GetBase(y) is null, throw ReferenceError
- */
+/*---
+info: Operator x <= y uses GetValue
+description: If GetBase(y) is null, throw ReferenceError
+---*/
//CHECK#1
try {
@@ -18,5 +16,3 @@ catch (e) {
$ERROR('#1.2: 1 <= y throw ReferenceError. Actual: ' + (e));
}
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A2.2_T1.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A2.2_T1.js
index fbc706a2f..8aa8437c0 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A2.2_T1.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A2.2_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x <= y uses [[Default Value]]
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A2.2_T1.js
- * @description If Type(value) is Object, evaluate ToPrimitive(value, Number)
- */
+/*---
+info: Operator x <= y uses [[Default Value]]
+description: If Type(value) is Object, evaluate ToPrimitive(value, Number)
+---*/
//CHECK#1
if ({valueOf: function() {return 0}} <= 1 !== true) {
@@ -68,4 +66,3 @@ catch (e) {
$ERROR('#8.2: 1 <= {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e));
}
}
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A2.3_T1.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A2.3_T1.js
index 14ea37cc6..0f3fbb7cd 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A2.3_T1.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A2.3_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * In ES5, First expression should be evaluated first.
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A2.3_T1.js
- * @description Checking that operands of a "<=" evaluate left-to-right
- */
+/*---
+info: In ES5, First expression should be evaluated first.
+description: Checking that operands of a "<=" evaluate left-to-right
+---*/
//CHECK#1
var x = { valueOf: function () { throw "x"; } };
@@ -23,4 +21,3 @@ try {
}
}
}
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A2.4_T1.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A2.4_T1.js
index 81e29c531..16175baa4 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A2.4_T1.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A2.4_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * First expression is evaluated first, and then second expression
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A2.4_T1.js
- * @description Checking with "="
- */
+/*---
+info: First expression is evaluated first, and then second expression
+description: Checking with "="
+---*/
//CHECK#1
var x = 0;
@@ -19,5 +17,3 @@ var x = 1;
if (x <= (x = 0) !== false) {
$ERROR('#2: var x = 1; x <= (x = 0) === false');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A2.4_T2.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A2.4_T2.js
index 2cbb846ff..a07398d56 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A2.4_T2.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A2.4_T2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * First expression is evaluated first, and then second expression
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A2.4_T2.js
- * @description Checking with "throw"
- */
+/*---
+info: First expression is evaluated first, and then second expression
+description: Checking with "throw"
+---*/
//CHECK#1
var x = function () { throw "x"; };
@@ -23,4 +21,3 @@ try {
}
}
}
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A2.4_T3.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A2.4_T3.js
index e53f08142..2c877305a 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A2.4_T3.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A2.4_T3.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * First expression is evaluated first, and then second expression
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A2.4_T3.js
- * @description Checking with undeclarated variables
- */
+/*---
+info: First expression is evaluated first, and then second expression
+description: Checking with undeclarated variables
+---*/
//CHECK#1
try {
@@ -23,5 +21,3 @@ catch (e) {
if ((y = 1) <= y !== true) {
$ERROR('#2: (y = 1) <= y === true');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T1.1.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T1.1.js
index a6a6f9dda..6b6c5e1f5 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T1.1.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T1.1.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A3.1_T1.1.js
- * @description Type(Primitive(x)) and Type(Primitive(y)) vary between primitive boolean and Boolean object
- */
+/*---
+info: >
+ Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x))
+ is not String or Type(Primitive(y)) is not String
+description: >
+ Type(Primitive(x)) and Type(Primitive(y)) vary between primitive
+ boolean and Boolean object
+---*/
//CHECK#1
if (true <= true !== true) {
@@ -27,4 +29,3 @@ if (true <= new Boolean(true) !== true) {
if (new Boolean(true) <= new Boolean(true) !== true) {
$ERROR('#4: new Boolean(true) <= new Boolean(true) === true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T1.2.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T1.2.js
index e4a93112a..25d8f7b96 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T1.2.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T1.2.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A3.1_T1.2.js
- * @description Type(Primitive(x)) and Type(Primitive(y)) vary between primitive number and Number object
- */
+/*---
+info: >
+ Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x))
+ is not String or Type(Primitive(y)) is not String
+description: >
+ Type(Primitive(x)) and Type(Primitive(y)) vary between primitive
+ number and Number object
+---*/
//CHECK#1
if (1 <= 1 !== true) {
@@ -27,5 +29,3 @@ if (1 <= new Number(1) !== true) {
if (new Number(1) <= new Number(1) !== true) {
$ERROR('#4: new Number(1) <= new Number(1) === true');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T1.3.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T1.3.js
index c55bc154c..9f2930847 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T1.3.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T1.3.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A3.1_T1.3.js
- * @description Type(Primitive(x)) and Type(Primitive(y)) vary between Null and Undefined
- */
+/*---
+info: >
+ Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x))
+ is not String or Type(Primitive(y)) is not String
+description: >
+ Type(Primitive(x)) and Type(Primitive(y)) vary between Null and
+ Undefined
+---*/
//CHECK#1
if (null <= undefined !== false) {
@@ -27,4 +29,3 @@ if (undefined <= undefined !== false) {
if (null <= null !== true) {
$ERROR('#4: null <= null === true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.1.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.1.js
index 2eb6f2282..630c0d44e 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.1.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.1.js
@@ -1,12 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A3.1_T2.1.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Boolean (primitive and object)
- */
+/*---
+info: >
+ Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x))
+ is not String or Type(Primitive(y)) is not String
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between Number (primitive or object) and Boolean
+ (primitive and object)
+---*/
//CHECK#1
if (true <= 1 !== true) {
@@ -47,4 +50,3 @@ if (new Boolean(true) <= new Number(1) !== true) {
if (new Number(1) <= new Boolean(true) !== true) {
$ERROR('#8: new Number(1) <= new Boolean(true) === true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.2.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.2.js
index 7bbff24f5..b233e77c0 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.2.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.2.js
@@ -1,12 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A3.1_T2.2.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and String (primitive and object)
- */
+/*---
+info: >
+ Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x))
+ is not String or Type(Primitive(y)) is not String
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between Number (primitive or object) and String
+ (primitive and object)
+---*/
//CHECK#1
if ("1" <= 1 !== true) {
@@ -57,4 +60,3 @@ if ("x" <= 1 !== false) {
if (1 <= "x" !== false) {
$ERROR('#10: 1 <= "x" === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.3.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.3.js
index a255c8b99..51d7dd2e5 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.3.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.3.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A3.1_T2.3.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Null
- */
+/*---
+info: >
+ Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x))
+ is not String or Type(Primitive(y)) is not String
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between Number (primitive or object) and Null
+---*/
//CHECK#1
if (1 <= null !== false) {
@@ -27,4 +29,3 @@ if (new Number(1) <= null !== false) {
if (null <= new Number(1) !== true) {
$ERROR('#4: null <= new Number(1) === true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.4.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.4.js
index a124fb8d9..f37be48a9 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.4.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.4.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A3.1_T2.4.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Undefined
- */
+/*---
+info: >
+ Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x))
+ is not String or Type(Primitive(y)) is not String
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between Number (primitive or object) and Undefined
+---*/
//CHECK#1
if (1 <= undefined !== false) {
@@ -27,4 +29,3 @@ if (new Number(1) <= undefined !== false) {
if (undefined <= new Number(1) !== false) {
$ERROR('#4: undefined <= new Number(1) === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.5.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.5.js
index 39fa250a5..81ebafdd7 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.5.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.5.js
@@ -1,12 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A3.1_T2.5.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Boolean (primitive and object)
- */
+/*---
+info: >
+ Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x))
+ is not String or Type(Primitive(y)) is not String
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between String (primitive or object) and Boolean
+ (primitive and object)
+---*/
//CHECK#1
if (true <= "1" !== true) {
@@ -47,4 +50,3 @@ if (new Boolean(true) <= new String("1") !== true) {
if (new String("1") <= new Boolean(true) !== true) {
$ERROR('#8: new String("1") <= new Boolean(true) === true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.6.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.6.js
index 321a4848e..f87dec059 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.6.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.6.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A3.1_T2.6.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Undefined
- */
+/*---
+info: >
+ Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x))
+ is not String or Type(Primitive(y)) is not String
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between String (primitive or object) and Undefined
+---*/
//CHECK#1
if ("1" <= undefined !== false) {
@@ -27,4 +29,3 @@ if (new String("1") <= undefined !== false) {
if (undefined <= new String("1") !== false) {
$ERROR('#4: undefined <= new String("1") === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.7.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.7.js
index 02a69689e..300de4416 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.7.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.7.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A3.1_T2.7.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Null
- */
+/*---
+info: >
+ Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x))
+ is not String or Type(Primitive(y)) is not String
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between String (primitive or object) and Null
+---*/
//CHECK#1
if ("1" <= null !== false) {
@@ -27,4 +29,3 @@ if (new String("1") <= null !== false) {
if (null <= new String("1") !== true) {
$ERROR('#4: null <= new String("1") === true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.8.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.8.js
index 580057063..3e92e5766 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.8.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.8.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A3.1_T2.8.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Undefined
- */
+/*---
+info: >
+ Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x))
+ is not String or Type(Primitive(y)) is not String
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between Boolean (primitive or object) and Undefined
+---*/
//CHECK#1
if (true <= undefined !== false) {
@@ -27,4 +29,3 @@ if (new Boolean(true) <= undefined !== false) {
if (undefined <= new Boolean(true) !== false) {
$ERROR('#4: undefined <= new Boolean(true) === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.9.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.9.js
index ed70b36f2..c64f6082d 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.9.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.1_T2.9.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x)) is not String or Type(Primitive(y)) is not String
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A3.1_T2.9.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Null
- */
+/*---
+info: >
+ Operator x <= y returns ToNumber(x) <= ToNumber(y), if Type(Primitive(x))
+ is not String or Type(Primitive(y)) is not String
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between Boolean (primitive or object) and Null
+---*/
//CHECK#1
if (true <= null !== false) {
@@ -27,4 +29,3 @@ if (new Boolean(true) <= null !== false) {
if (null <= new Boolean(true) !== true) {
$ERROR('#4: null <= new Boolean(true) === true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.2_T1.1.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.2_T1.1.js
index 354384ea8..d5a0f6785 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.2_T1.1.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.2_T1.1.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x <= y returns ToString(x) <= ToString(y), if Type(Primitive(x)) is String and Type(Primitive(y)) is String
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A3.2_T1.1.js
- * @description Type(Primitive(x)) and Type(Primitive(y)) vary between primitive string and String object
- */
+/*---
+info: >
+ Operator x <= y returns ToString(x) <= ToString(y), if Type(Primitive(x))
+ is String and Type(Primitive(y)) is String
+description: >
+ Type(Primitive(x)) and Type(Primitive(y)) vary between primitive
+ string and String object
+---*/
//CHECK#1
if ("1" <= "1" !== true) {
@@ -37,4 +39,3 @@ if ("x" <= "1" !== false) {
if ("1" <= "x" !== true) {
$ERROR('#6: "1" <= "x" === true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.2_T1.2.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.2_T1.2.js
index 93ff5e2e2..542531547 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.2_T1.2.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A3.2_T1.2.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x <= y returns ToString(x) <= ToString(y), if Type(Primitive(x)) is String and Type(Primitive(y)) is String
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A3.2_T1.2.js
- * @description Type(Primitive(x)) and Type(Primitive(y)) vary between Object object and Function object
- */
+/*---
+info: >
+ Operator x <= y returns ToString(x) <= ToString(y), if Type(Primitive(x))
+ is String and Type(Primitive(y)) is String
+description: >
+ Type(Primitive(x)) and Type(Primitive(y)) vary between Object
+ object and Function object
+---*/
//CHECK#1
if (({} <= function(){return 1}) !== ({}.toString() <= function(){return 1}.toString())) {
@@ -27,4 +29,3 @@ if ((function(){return 1} <= function(){return 1}) !== (function(){return 1}.toS
if (({} <= {}) !== ({}.toString() <= {}.toString())) {
$ERROR('#4: ({} <= {}) === ({}.toString() <= {}.toString())');
}
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.1.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.1.js
index c94f02041..165cc9d4a 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.1.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If x is NaN, return false (if result in 11.8.5 is undefined, return false)
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A4.1.js
- * @description y is number primitive
- */
+/*---
+info: If x is NaN, return false (if result in 11.8.5 is undefined, return false)
+description: y is number primitive
+---*/
//CHECK#1
if ((Number.NaN <= 0) !== false) {
@@ -47,5 +45,3 @@ if ((Number.NaN <= Number.MAX_VALUE) !== false) {
if ((Number.NaN <= Number.MIN_VALUE) !== false) {
$ERROR('#8: (NaN <= Number.MIN_VALUE) === false');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.10.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.10.js
index 4e2295c6d..29e1135e9 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.10.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.10.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If y is a prefix of x and x !== y, return false
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A4.10.js
- * @description x and y are string primitives
- */
+/*---
+info: If y is a prefix of x and x !== y, return false
+description: x and y are string primitives
+---*/
//CHECK#1
if (("x " <= "x") !== false) {
@@ -38,5 +36,3 @@ var x = "x";
if ((x + 'y' <= x) !== false) {
$ERROR('#6: var x = "x"; (x + "y" <= x) === false');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.11.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.11.js
index 556a9eb89..8ff6e1650 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.11.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.11.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If x is a prefix of y, return true
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A4.11.js
- * @description x and y are string primitives
- */
+/*---
+info: If x is a prefix of y, return true
+description: x and y are string primitives
+---*/
//CHECK#1
if (("x" <= "x") !== true) {
@@ -48,6 +46,3 @@ if (("a\u0000" <= "a\u0000a") !== true) {
if (("x" <= " x") !== false) {
$ERROR('#8: ("x" <= " x") === false');
}
-
-
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.12_T1.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.12_T1.js
index cb1228e57..a48917ff1 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.12_T1.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.12_T1.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If neither x, nor y is a prefix of each other, returned result of strings comparison applies a simple lexicographic ordering to the sequences of code point value values
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A4.12_T1.js
- * @description x and y are string primitives
- */
+/*---
+info: >
+ If neither x, nor y is a prefix of each other, returned result of strings
+ comparison applies a simple lexicographic ordering to the sequences of
+ code point value values
+description: x and y are string primitives
+---*/
//CHECK#1
if (("xx" <= "xy") !== true) {
@@ -42,4 +43,3 @@ if (("a\u0000a" <= "a\u0000b") !== true) {
if (("aB" <= "aa") !== true) {
$ERROR('#7: ("aB" <= aa") === true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.12_T2.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.12_T2.js
index 459d73ed1..c1556441d 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.12_T2.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.12_T2.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If neither x, nor y is a prefix of each other, returned result of strings comparison applies a simple lexicographic ordering to the sequences of code point value values
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A4.12_T2.js
- * @description x and y are string primitives
- */
+/*---
+info: >
+ If neither x, nor y is a prefix of each other, returned result of strings
+ comparison applies a simple lexicographic ordering to the sequences of
+ code point value values
+description: x and y are string primitives
+---*/
//CHECK#1
if (("0" <= "x") !== true) {
@@ -42,4 +43,3 @@ if (("+1" <= "-1") !== true) {
if (("1" <= "1e-10") !== true) {
$ERROR('#7: ("1" <= "1e-10") !== true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.2.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.2.js
index dd195d809..e03799466 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.2.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If y is NaN, return false (if result in 11.8.5 is undefined, return false)
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A4.2.js
- * @description x is number primitive
- */
+/*---
+info: If y is NaN, return false (if result in 11.8.5 is undefined, return false)
+description: x is number primitive
+---*/
//CHECK#1
if ((0 <= Number.NaN) !== false) {
@@ -47,5 +45,3 @@ if ((Number.MAX_VALUE <= Number.NaN) !== false) {
if ((Number.MIN_VALUE <= Number.NaN) !== false) {
$ERROR('#8: (Number.MIN_VALUE <= NaN) === false');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.3.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.3.js
index 3c462cfdd..1bf568c5e 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.3.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.3.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If x and y are the same number value, return true
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A4.3.js
- * @description x and y are number primitives
- */
+/*---
+info: If x and y are the same number value, return true
+description: x and y are number primitives
+---*/
//CHECK#1
if ((1 <= 1) !== true) {
@@ -42,6 +40,3 @@ if ((Number.MAX_VALUE <= Number.MAX_VALUE) !== true) {
if ((Number.MIN_VALUE <= Number.MIN_VALUE) !== true) {
$ERROR('#7: (Number.MIN_VALUE <= Number.MIN_VALUE) === true');
}
-
-
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.4.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.4.js
index 4669cde36..370f514aa 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.4.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.4.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If either x or y is +0 and the other is -0, return true
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A4.4.js
- * @description Checking all combinations
- */
+/*---
+info: If either x or y is +0 and the other is -0, return true
+description: Checking all combinations
+---*/
//CHECK#1
if ((0 <= 0) !== true) {
@@ -27,5 +25,3 @@ if ((+0 <= -0) !== true) {
if ((-0 <= +0) !== true) {
$ERROR('#4: (-0 <= +0) === true');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.5.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.5.js
index ff3ab3a85..5c07f1388 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.5.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.5.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If x is +Infinity and x !== y, return false
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A4.5.js
- * @description y is number primitive
- */
+/*---
+info: If x is +Infinity and x !== y, return false
+description: y is number primitive
+---*/
//CHECK#1
if ((Number.POSITIVE_INFINITY <= 0) !== false) {
@@ -37,5 +35,3 @@ if ((Number.POSITIVE_INFINITY <= Number.MAX_VALUE) !== false) {
if ((Number.POSITIVE_INFINITY <= Number.MIN_VALUE) !== false) {
$ERROR('#6: (+Infinity <= Number.MIN_VALUE) === false');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.6.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.6.js
index 1aa11f973..faad8099f 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.6.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.6.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If y is +Infinity and x !== y, return true
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A4.6.js
- * @description x is number primitive
- */
+/*---
+info: If y is +Infinity and x !== y, return true
+description: x is number primitive
+---*/
//CHECK#1
if ((0 <= Number.POSITIVE_INFINITY) !== true) {
@@ -37,5 +35,3 @@ if ((Number.MAX_VALUE <= Number.POSITIVE_INFINITY) !== true) {
if ((Number.MIN_VALUE <= Number.POSITIVE_INFINITY) !== true) {
$ERROR('#6: (Number.MIN_VALUE <= +Infinity) === true');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.7.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.7.js
index 8abd94de4..abbc88d00 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.7.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.7.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If x is -Infinity, return true
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A4.7.js
- * @description y is number primitive
- */
+/*---
+info: If x is -Infinity, return true
+description: y is number primitive
+---*/
//CHECK#1
if ((Number.NEGATIVE_INFINITY <= 0) !== true) {
@@ -37,5 +35,3 @@ if ((Number.NEGATIVE_INFINITY <= Number.MAX_VALUE) !== true) {
if ((Number.NEGATIVE_INFINITY <= Number.MIN_VALUE) !== true) {
$ERROR('#6: (-Infinity <= Number.MIN_VALUE) === true');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.8.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.8.js
index c126d0795..e495f226f 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.8.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.8.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If y is -Infinity and x !== y, return false
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A4.8.js
- * @description x is number primitive
- */
+/*---
+info: If y is -Infinity and x !== y, return false
+description: x is number primitive
+---*/
//CHECK#1
if ((0 <= Number.NEGATIVE_INFINITY) !== false) {
@@ -37,5 +35,3 @@ if ((Number.MAX_VALUE <= Number.NEGATIVE_INFINITY) !== false) {
if ((Number.MIN_VALUE <= Number.NEGATIVE_INFINITY) !== false) {
$ERROR('#6: (Number.MIN_VALUE <= -Infinity) === false');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.9.js b/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.9.js
index fa0d9302c..609561473 100644
--- a/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.9.js
+++ b/test/suite/ch11/11.8/11.8.3/S11.8.3_A4.9.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If x is less or equal than y and these values are both finite non-zero, return true; otherwise, return false
- *
- * @path ch11/11.8/11.8.3/S11.8.3_A4.9.js
- * @description x and y are number primitives
- */
+/*---
+info: >
+ If x is less or equal than y and these values are both finite non-zero,
+ return true; otherwise, return false
+description: x and y are number primitives
+---*/
//CHECK#1
if ((1.1 <= 1) !== false) {
@@ -47,6 +47,3 @@ if ((Number.MAX_VALUE/2 <= Number.MAX_VALUE) !== true) {
if ((Number.MIN_VALUE <= Number.MIN_VALUE*2) !== true) {
$ERROR('#8: (Number.MIN_VALUE <= Number.MIN_VALUE*2) === true');
}
-
-
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A1.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A1.js
index 2a165a211..eee942672 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A1.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * White Space and Line Terminator between RelationalExpression and "=>" or "=>" and ShiftExpression are allowed
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A1.js
- * @description Checking by using eval
- */
+/*---
+info: >
+ White Space and Line Terminator between RelationalExpression and "=>" or
+ "=>" and ShiftExpression are allowed
+description: Checking by using eval
+---*/
//CHECK#1
if (eval("1\u0009>=\u00091") !== true) {
@@ -57,4 +57,3 @@ if (eval("1\u2029>=\u20291") !== true) {
if (eval("1\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029>=\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== true) {
$ERROR('#10: (1\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029>=\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A2.1_T1.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A2.1_T1.js
index 8f3adb309..3d136a7bb 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A2.1_T1.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A2.1_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x >= y uses GetValue
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A2.1_T1.js
- * @description Either Type is not Reference or GetBase is not null
- */
+/*---
+info: Operator x >= y uses GetValue
+description: Either Type is not Reference or GetBase is not null
+---*/
//CHECK#1
if (1 >= 1 !== true) {
@@ -40,4 +38,3 @@ objecty.prop = 1;
if (objectx.prop >= objecty.prop !== true) {
$ERROR('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 1; objectx.prop >= objecty.prop === true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A2.1_T2.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A2.1_T2.js
index 8a57a24e3..974927ebd 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A2.1_T2.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A2.1_T2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x >= y uses GetValue
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A2.1_T2.js
- * @description If GetBase(x) is null, throw ReferenceError
- */
+/*---
+info: Operator x >= y uses GetValue
+description: If GetBase(x) is null, throw ReferenceError
+---*/
//CHECK#1
try {
@@ -18,5 +16,3 @@ catch (e) {
$ERROR('#1.2: x >= 1 throw ReferenceError. Actual: ' + (e));
}
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A2.1_T3.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A2.1_T3.js
index 23c2ea604..4535d9693 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A2.1_T3.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A2.1_T3.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x >= y uses GetValue
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A2.1_T3.js
- * @description If GetBase(y) is null, throw ReferenceError
- */
+/*---
+info: Operator x >= y uses GetValue
+description: If GetBase(y) is null, throw ReferenceError
+---*/
//CHECK#1
try {
@@ -18,5 +16,3 @@ catch (e) {
$ERROR('#1.2: 1 >= y throw ReferenceError. Actual: ' + (e));
}
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A2.2_T1.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A2.2_T1.js
index f129ea315..0b03a6751 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A2.2_T1.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A2.2_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x >= y uses [[Default Value]]
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A2.2_T1.js
- * @description If Type(value) is Object, evaluate ToPrimitive(value, Number)
- */
+/*---
+info: Operator x >= y uses [[Default Value]]
+description: If Type(value) is Object, evaluate ToPrimitive(value, Number)
+---*/
//CHECK#1
if ({valueOf: function() {return 2}} >= 1 !== true) {
@@ -68,4 +66,3 @@ catch (e) {
$ERROR('#8.2: 1 >= {valueOf: function() {return {}}, toString: function() {return {}}} throw TypeError. Actual: ' + (e));
}
}
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A2.3_T1.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A2.3_T1.js
index dd286dd03..856480e83 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A2.3_T1.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A2.3_T1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * ToNumber(first expression) is called first, and then ToNumber(second expression)
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A2.3_T1.js
- * @description Checking with "throw"
- */
+/*---
+info: >
+ ToNumber(first expression) is called first, and then ToNumber(second
+ expression)
+description: Checking with "throw"
+---*/
//CHECK#1
var x = { valueOf: function () { throw "x"; } };
@@ -23,4 +23,3 @@ try {
}
}
}
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A2.4_T1.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A2.4_T1.js
index 8e3f2b0c7..1e7baf551 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A2.4_T1.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A2.4_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * First expression is evaluated first, and then second expression
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A2.4_T1.js
- * @description Checking with "="
- */
+/*---
+info: First expression is evaluated first, and then second expression
+description: Checking with "="
+---*/
//CHECK#1
var x = 1;
@@ -19,5 +17,3 @@ var x = 0;
if (x >= (x = 1) !== false) {
$ERROR('#2: var x = 0; x >= (x = 1) === false');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A2.4_T2.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A2.4_T2.js
index f7c0446dd..aca2fe6dd 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A2.4_T2.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A2.4_T2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * First expression is evaluated first, and then second expression
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A2.4_T2.js
- * @description Checking with "throw"
- */
+/*---
+info: First expression is evaluated first, and then second expression
+description: Checking with "throw"
+---*/
//CHECK#1
var x = function () { throw "x"; };
@@ -23,4 +21,3 @@ try {
}
}
}
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A2.4_T3.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A2.4_T3.js
index 54efe21ac..fe38c26ce 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A2.4_T3.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A2.4_T3.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * First expression is evaluated first, and then second expression
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A2.4_T3.js
- * @description Checking with undeclarated variables
- */
+/*---
+info: First expression is evaluated first, and then second expression
+description: Checking with undeclarated variables
+---*/
//CHECK#1
try {
@@ -23,5 +21,3 @@ catch (e) {
if ((y = 1) >= y !== true) {
$ERROR('#2: (y = 1) >= y === true');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T1.1.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T1.1.js
index d92463091..d23ac9d4f 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T1.1.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T1.1.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y)
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A3.1_T1.1.js
- * @description Type(Primitive(x)) and Type(Primitive(y)) vary between primitive boolean and Boolean object
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x >= y returns ToNumber(x) >= ToNumber(y)
+description: >
+ Type(Primitive(x)) and Type(Primitive(y)) vary between primitive
+ boolean and Boolean object
+---*/
//CHECK#1
if (true >= true !== true) {
@@ -27,4 +29,3 @@ if (true >= new Boolean(true) !== true) {
if (new Boolean(true) >= new Boolean(true) !== true) {
$ERROR('#4: new Boolean(true) >= new Boolean(true) === true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T1.2.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T1.2.js
index 255124d7d..e967d057d 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T1.2.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T1.2.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y)
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A3.1_T1.2.js
- * @description Type(Primitive(x)) and Type(Primitive(y)) vary between primitive number and Number object
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x >= y returns ToNumber(x) >= ToNumber(y)
+description: >
+ Type(Primitive(x)) and Type(Primitive(y)) vary between primitive
+ number and Number object
+---*/
//CHECK#1
if (1 >= 1 !== true) {
@@ -27,5 +29,3 @@ if (1 >= new Number(1) !== true) {
if (new Number(1) >= new Number(1) !== true) {
$ERROR('#4: new Number(1) >= new Number(1) === true');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T1.3.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T1.3.js
index ffe39372e..0252ba6cc 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T1.3.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T1.3.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y)
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A3.1_T1.3.js
- * @description Type(Primitive(x)) and Type(Primitive(y)) vary between Null and Undefined
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x >= y returns ToNumber(x) >= ToNumber(y)
+description: >
+ Type(Primitive(x)) and Type(Primitive(y)) vary between Null and
+ Undefined
+---*/
//CHECK#1
if (null >= undefined !== false) {
@@ -27,4 +29,3 @@ if (undefined >= undefined !== false) {
if (null >= null !== true) {
$ERROR('#4: null >= null === true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.1.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.1.js
index c1f367aae..8159c6f23 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.1.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.1.js
@@ -1,12 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y)
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A3.1_T2.1.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Boolean (primitive and object)
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x >= y returns ToNumber(x) >= ToNumber(y)
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between Number (primitive or object) and Boolean
+ (primitive and object)
+---*/
//CHECK#1
if (true >= 1 !== true) {
@@ -47,4 +50,3 @@ if (new Boolean(true) >= new Number(1) !== true) {
if (new Number(1) >= new Boolean(true) !== true) {
$ERROR('#8: new Number(1) >= new Boolean(true) === true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.2.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.2.js
index 3e4bca79b..2ccfb7eb0 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.2.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.2.js
@@ -1,12 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y)
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A3.1_T2.2.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and String (primitive and object)
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x >= y returns ToNumber(x) >= ToNumber(y)
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between Number (primitive or object) and String
+ (primitive and object)
+---*/
//CHECK#1
if ("1" >= 1 !== true) {
@@ -57,4 +60,3 @@ if ("x" >= 1 !== false) {
if (1 >= "x" !== false) {
$ERROR('#10: 1 >= "x" === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.3.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.3.js
index 4d0c6b6a9..0eab4ac8f 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.3.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.3.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y)
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A3.1_T2.3.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Null
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x >= y returns ToNumber(x) >= ToNumber(y)
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between Number (primitive or object) and Null
+---*/
//CHECK#1
if (1 >= null !== true) {
@@ -27,4 +29,3 @@ if (new Number(1) >= null !== true) {
if (null >= new Number(1) !== false) {
$ERROR('#4: null >= new Number(1) === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.4.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.4.js
index f94a78e5a..c7b873f22 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.4.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.4.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y)
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A3.1_T2.4.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Number (primitive or object) and Undefined
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x >= y returns ToNumber(x) >= ToNumber(y)
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between Number (primitive or object) and Undefined
+---*/
//CHECK#1
if (1 >= undefined !== false) {
@@ -27,4 +29,3 @@ if (new Number(1) >= undefined !== false) {
if (undefined >= new Number(1) !== false) {
$ERROR('#4: undefined >= new Number(1) === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.5.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.5.js
index 5f949872e..43d84e760 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.5.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.5.js
@@ -1,12 +1,15 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y)
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A3.1_T2.5.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Boolean (primitive and object)
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x >= y returns ToNumber(x) >= ToNumber(y)
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between String (primitive or object) and Boolean
+ (primitive and object)
+---*/
//CHECK#1
if (true >= "1" !== true) {
@@ -47,4 +50,3 @@ if (new Boolean(true) >= new String("1") !== true) {
if (new String("1") >= new Boolean(true) !== true) {
$ERROR('#8: new String("1") >= new Boolean(true) === true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.6.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.6.js
index ff2ab1820..9b24e162e 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.6.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.6.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y)
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A3.1_T2.6.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Undefined
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x >= y returns ToNumber(x) >= ToNumber(y)
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between String (primitive or object) and Undefined
+---*/
//CHECK#1
if ("1" >= undefined !== false) {
@@ -27,4 +29,3 @@ if (new String("1") >= undefined !== false) {
if (undefined >= new String("1") !== false) {
$ERROR('#4: undefined >= new String("1") === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.7.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.7.js
index 10745f98a..41a912293 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.7.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.7.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y)
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A3.1_T2.7.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between String (primitive or object) and Null
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x >= y returns ToNumber(x) >= ToNumber(y)
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between String (primitive or object) and Null
+---*/
//CHECK#1
if ("1" >= null !== true) {
@@ -27,4 +29,3 @@ if (new String("1") >= null !== true) {
if (null >= new String("1") !== false) {
$ERROR('#4: null >= new String("1") === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.8.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.8.js
index c45874ca8..5a202611c 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.8.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.8.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y)
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A3.1_T2.8.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Undefined
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x >= y returns ToNumber(x) >= ToNumber(y)
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between Boolean (primitive or object) and Undefined
+---*/
//CHECK#1
if (true >= undefined !== false) {
@@ -27,4 +29,3 @@ if (new Boolean(true) >= undefined !== false) {
if (undefined >= new Boolean(true) !== false) {
$ERROR('#4: undefined >= new Boolean(true) === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.9.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.9.js
index 8046d5a59..9fce92c87 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.9.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.1_T2.9.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String, then operator x >= y returns ToNumber(x) >= ToNumber(y)
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A3.1_T2.9.js
- * @description Type(Primitive(x)) is different from Type(Primitive(y)) and both types vary between Boolean (primitive or object) and Null
- */
+/*---
+info: >
+ If Type(Primitive(x)) is not String or Type(Primitive(y)) is not String,
+ then operator x >= y returns ToNumber(x) >= ToNumber(y)
+description: >
+ Type(Primitive(x)) is different from Type(Primitive(y)) and both
+ types vary between Boolean (primitive or object) and Null
+---*/
//CHECK#1
if (true >= null !== true) {
@@ -27,4 +29,3 @@ if (new Boolean(true) >= null !== true) {
if (null >= new Boolean(true) !== false) {
$ERROR('#4: null >= new Boolean(true) === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.2_T1.1.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.2_T1.1.js
index d166d3f9b..835537b96 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.2_T1.1.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.2_T1.1.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x >= y returns ToString(x) >= ToString(y), if Type(Primitive(x)) is String and Type(Primitive(y)) is String
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A3.2_T1.1.js
- * @description Type(Primitive(x)) and Type(Primitive(y)) vary between primitive string and String object
- */
+/*---
+info: >
+ Operator x >= y returns ToString(x) >= ToString(y), if Type(Primitive(x))
+ is String and Type(Primitive(y)) is String
+description: >
+ Type(Primitive(x)) and Type(Primitive(y)) vary between primitive
+ string and String object
+---*/
//CHECK#1
if ("1" >= "1" !== true) {
@@ -37,4 +39,3 @@ if ("x" >= "1" !== true) {
if ("1" >= "x" !== false) {
$ERROR('#6: "1" >= "x" === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.2_T1.2.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.2_T1.2.js
index 7a981028c..62bab1569 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.2_T1.2.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A3.2_T1.2.js
@@ -1,12 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator x >= y returns ToString(x) >= ToString(y), if Type(Primitive(x)) is String and Type(Primitive(y)) is String
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A3.2_T1.2.js
- * @description Type(Primitive(x)) and Type(Primitive(y)) vary between Object object and Function object
- */
+/*---
+info: >
+ Operator x >= y returns ToString(x) >= ToString(y), if Type(Primitive(x))
+ is String and Type(Primitive(y)) is String
+description: >
+ Type(Primitive(x)) and Type(Primitive(y)) vary between Object
+ object and Function object
+---*/
//CHECK#1
if (({} >= function(){return 1}) !== ({}.toString() >= function(){return 1}.toString())) {
@@ -27,4 +29,3 @@ if ((function(){return 1} >= function(){return 1}) !== (function(){return 1}.toS
if (({} >= {}) !== ({}.toString() >= {}.toString())) {
$ERROR('#4: ({} >= {}) === ({}.toString() >= {}.toString())');
}
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.1.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.1.js
index 601f23715..ce7999f27 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.1.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If x is NaN, return false (if result in 11.8.5 is undefined, return false)
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A4.1.js
- * @description y is number primitive
- */
+/*---
+info: If x is NaN, return false (if result in 11.8.5 is undefined, return false)
+description: y is number primitive
+---*/
//CHECK#1
if ((Number.NaN >= 0) !== false) {
@@ -47,5 +45,3 @@ if ((Number.NaN >= Number.MAX_VALUE) !== false) {
if ((Number.NaN >= Number.MIN_VALUE) !== false) {
$ERROR('#8: (NaN >= Number.MIN_VALUE) === false');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.10.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.10.js
index caaf1fa86..2f3bd2edd 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.10.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.10.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If x is a prefix of y and x !== y, return false
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A4.10.js
- * @description x and y are string primitives
- */
+/*---
+info: If x is a prefix of y and x !== y, return false
+description: x and y are string primitives
+---*/
//CHECK#1
if (("x" >= "x ") !== false) {
@@ -38,4 +36,3 @@ var x = "x";
if ((x >= x + "y") !== false) {
$ERROR('#6: var x = "x"; (x >= x + "y") === false');
}
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.11.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.11.js
index 98b792a6d..7f15f3369 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.11.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.11.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If y is a prefix of x, return true
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A4.11.js
- * @description x and y are string primitives
- */
+/*---
+info: If y is a prefix of x, return true
+description: x and y are string primitives
+---*/
//CHECK#1
if (("x" >= "x") !== true) {
@@ -48,5 +46,3 @@ if (("a\u0000a" >= "a\u0000") !== true) {
if ((" x" >= "x") !== false) {
$ERROR('#8: (" x" >= "x") === false');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.12_T1.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.12_T1.js
index 961dc236f..52d274971 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.12_T1.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.12_T1.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If neither x, nor y is a prefix of each other, returned result of strings comparison applies a simple lexicographic ordering to the sequences of code point value values
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A4.12_T1.js
- * @description x and y are string primitives
- */
+/*---
+info: >
+ If neither x, nor y is a prefix of each other, returned result of strings
+ comparison applies a simple lexicographic ordering to the sequences of
+ code point value values
+description: x and y are string primitives
+---*/
//CHECK#1
if (("xy" >= "xx") !== true) {
@@ -42,4 +43,3 @@ if (("a\u0000b" >= "a\u0000a") !== true) {
if (("aa" >= "aB") !== true) {
$ERROR('#7: ("aa" >= aB") === true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.12_T2.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.12_T2.js
index 851e69d49..5512e0492 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.12_T2.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.12_T2.js
@@ -1,12 +1,13 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If neither x, nor y is a prefix of each other, returned result of strings comparison applies a simple lexicographic ordering to the sequences of code point value values
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A4.12_T2.js
- * @description x and y are string primitives
- */
+/*---
+info: >
+ If neither x, nor y is a prefix of each other, returned result of strings
+ comparison applies a simple lexicographic ordering to the sequences of
+ code point value values
+description: x and y are string primitives
+---*/
//CHECK#1
if (("x" >= "0") !== true) {
@@ -42,4 +43,3 @@ if (("-1" >= "+1") !== true) {
if (("1e-10" >= "1") !== true) {
$ERROR('#7: ("1e-10" >= "1") !== true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.2.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.2.js
index a10b2ab4e..c2f5665a5 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.2.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If y is NaN, return false (if result in 11.8.5 is undefined, return false)
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A4.2.js
- * @description x is number primitive
- */
+/*---
+info: If y is NaN, return false (if result in 11.8.5 is undefined, return false)
+description: x is number primitive
+---*/
//CHECK#1
if ((0 >= Number.NaN) !== false) {
@@ -47,5 +45,3 @@ if ((Number.MAX_VALUE >= Number.NaN) !== false) {
if ((Number.MIN_VALUE >= Number.NaN) !== false) {
$ERROR('#8: (Number.MIN_VALUE >= NaN) === false');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.3.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.3.js
index 4169a91bb..a4d00bcc2 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.3.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.3.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If x and y are the same number value, return true
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A4.3.js
- * @description x and y are number primitives
- */
+/*---
+info: If x and y are the same number value, return true
+description: x and y are number primitives
+---*/
//CHECK#1
if ((1 >= 1) !== true) {
@@ -42,6 +40,3 @@ if ((Number.MAX_VALUE >= Number.MAX_VALUE) !== true) {
if ((Number.MIN_VALUE >= Number.MIN_VALUE) !== true) {
$ERROR('#7: (Number.MIN_VALUE >= Number.MIN_VALUE) === true');
}
-
-
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.4.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.4.js
index 3abe7fa77..d06f5b2c1 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.4.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.4.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If either x or y is +0 and the other is -0, return true
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A4.4.js
- * @description Checking all combinations
- */
+/*---
+info: If either x or y is +0 and the other is -0, return true
+description: Checking all combinations
+---*/
//CHECK#1
if ((0 >= 0) !== true) {
@@ -27,5 +25,3 @@ if ((+0 >= -0) !== true) {
if ((-0 >= +0) !== true) {
$ERROR('#4: (-0 >= +0) === true');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.5.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.5.js
index e0357fee2..f6c6c984f 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.5.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.5.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If x is +Infinity, return true
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A4.5.js
- * @description y is number primitive
- */
+/*---
+info: If x is +Infinity, return true
+description: y is number primitive
+---*/
//CHECK#1
if ((Number.POSITIVE_INFINITY >= 0) !== true) {
@@ -37,5 +35,3 @@ if ((Number.POSITIVE_INFINITY >= Number.MAX_VALUE) !== true) {
if ((Number.POSITIVE_INFINITY >= Number.MIN_VALUE) !== true) {
$ERROR('#6: (+Infinity >= Number.MIN_VALUE) === true');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.6.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.6.js
index b1f898a14..f12eae38c 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.6.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.6.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If y is +Infinity and x !== y, return false
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A4.6.js
- * @description x is number primitive
- */
+/*---
+info: If y is +Infinity and x !== y, return false
+description: x is number primitive
+---*/
//CHECK#1
if ((0 >= Number.POSITIVE_INFINITY) !== false) {
@@ -37,5 +35,3 @@ if ((Number.MAX_VALUE >= Number.POSITIVE_INFINITY) !== false) {
if ((Number.MIN_VALUE >= Number.POSITIVE_INFINITY) !== false) {
$ERROR('#6: (Number.MIN_VALUE >= +Infinity) === false');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.7.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.7.js
index 6a423b834..3e1ad0040 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.7.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.7.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If x is -Infinity and x !== y, return false
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A4.7.js
- * @description y is number primitive
- */
+/*---
+info: If x is -Infinity and x !== y, return false
+description: y is number primitive
+---*/
//CHECK#1
if ((Number.NEGATIVE_INFINITY >= 0) !== false) {
@@ -37,5 +35,3 @@ if ((Number.NEGATIVE_INFINITY >= Number.MAX_VALUE) !== false) {
if ((Number.NEGATIVE_INFINITY >= Number.MIN_VALUE) !== false) {
$ERROR('#6: (-Infinity >= Number.MIN_VALUE) === false');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.8.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.8.js
index ce00360b3..b0cfb6202 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.8.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.8.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If y is -Infinity, return true
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A4.8.js
- * @description x is number primitive
- */
+/*---
+info: If y is -Infinity, return true
+description: x is number primitive
+---*/
//CHECK#1
if ((0 >= Number.NEGATIVE_INFINITY) !== true) {
@@ -37,5 +35,3 @@ if ((Number.MAX_VALUE >= Number.NEGATIVE_INFINITY) !== true) {
if ((Number.MIN_VALUE >= Number.NEGATIVE_INFINITY) !== true) {
$ERROR('#6: (Number.MIN_VALUE >= -Infinity) === true');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.9.js b/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.9.js
index 116d934ef..3c514df79 100644
--- a/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.9.js
+++ b/test/suite/ch11/11.8/11.8.4/S11.8.4_A4.9.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If x is greater or equal than y and these values are both finite non-zero, return true; otherwise, return false
- *
- * @path ch11/11.8/11.8.4/S11.8.4_A4.9.js
- * @description x and y are number primitives
- */
+/*---
+info: >
+ If x is greater or equal than y and these values are both finite
+ non-zero, return true; otherwise, return false
+description: x and y are number primitives
+---*/
//CHECK#1
if ((1 >= 1.1) !== false) {
@@ -47,6 +47,3 @@ if ((Number.MAX_VALUE >= Number.MAX_VALUE/2) !== true) {
if ((Number.MIN_VALUE*2 >= Number.MIN_VALUE) !== true) {
$ERROR('#8: (Number.MIN_VALUE*2 >= Number.MIN_VALUE) === true');
}
-
-
-
diff --git a/test/suite/ch11/11.8/11.8.6/S11.8.6_A1.js b/test/suite/ch11/11.8/11.8.6/S11.8.6_A1.js
index 282b9fda4..b290b4c92 100644
--- a/test/suite/ch11/11.8/11.8.6/S11.8.6_A1.js
+++ b/test/suite/ch11/11.8/11.8.6/S11.8.6_A1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * White Space and Line Terminator between RelationalExpression and "instanceof" and between "instanceof" and ShiftExpression are allowed
- *
- * @path ch11/11.8/11.8.6/S11.8.6_A1.js
- * @description Checking by using eval
- */
+/*---
+info: >
+ White Space and Line Terminator between RelationalExpression and
+ "instanceof" and between "instanceof" and ShiftExpression are allowed
+description: Checking by using eval
+---*/
//CHECK#1
if (eval("({})\u0009instanceof\u0009Object") !== true) {
@@ -57,4 +57,3 @@ if (eval("({})\u2029instanceof\u2029Object") !== true) {
if (eval("({})\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029instanceof\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029Object") !== true) {
$ERROR('#10: ({})\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029instanceof\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029Object === true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.6/S11.8.6_A2.1_T1.js b/test/suite/ch11/11.8/11.8.6/S11.8.6_A2.1_T1.js
index e7a31658c..8d612ac87 100644
--- a/test/suite/ch11/11.8/11.8.6/S11.8.6_A2.1_T1.js
+++ b/test/suite/ch11/11.8/11.8.6/S11.8.6_A2.1_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator "instanceof" uses GetValue
- *
- * @path ch11/11.8/11.8.6/S11.8.6_A2.1_T1.js
- * @description Either Expression is not Reference or GetBase is not null
- */
+/*---
+info: Operator "instanceof" uses GetValue
+description: Either Expression is not Reference or GetBase is not null
+---*/
//CHECK#1
if (({}) instanceof Object !== true) {
@@ -31,5 +29,3 @@ var OBJECT = Object;
if (object instanceof OBJECT !== true) {
$ERROR('#4: var object = {}; var OBJECT = Object; object instanceof OBJECT === true');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.6/S11.8.6_A2.1_T2.js b/test/suite/ch11/11.8/11.8.6/S11.8.6_A2.1_T2.js
index 9477b0b5d..eaeaad9f6 100644
--- a/test/suite/ch11/11.8/11.8.6/S11.8.6_A2.1_T2.js
+++ b/test/suite/ch11/11.8/11.8.6/S11.8.6_A2.1_T2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator "instanceof" uses GetValue
- *
- * @path ch11/11.8/11.8.6/S11.8.6_A2.1_T2.js
- * @description If GetBase(RelationalExpression) is null, throw ReferenceError
- */
+/*---
+info: Operator "instanceof" uses GetValue
+description: If GetBase(RelationalExpression) is null, throw ReferenceError
+---*/
//CHECK#1
try {
@@ -18,4 +16,3 @@ catch (e) {
$ERROR('#1.2: object instanceof Object throw ReferenceError. Actual: ' + (e));
}
}
-
diff --git a/test/suite/ch11/11.8/11.8.6/S11.8.6_A2.1_T3.js b/test/suite/ch11/11.8/11.8.6/S11.8.6_A2.1_T3.js
index bb0a094ce..fed60b6e4 100644
--- a/test/suite/ch11/11.8/11.8.6/S11.8.6_A2.1_T3.js
+++ b/test/suite/ch11/11.8/11.8.6/S11.8.6_A2.1_T3.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator "instanceof" uses GetValue
- *
- * @path ch11/11.8/11.8.6/S11.8.6_A2.1_T3.js
- * @description If GetBase(ShiftExpression) is null, throw ReferenceError
- */
+/*---
+info: Operator "instanceof" uses GetValue
+description: If GetBase(ShiftExpression) is null, throw ReferenceError
+---*/
//CHECK#1
try {
@@ -18,4 +16,3 @@ catch (e) {
$ERROR('#1.2: ({}) instanceof OBJECT throw ReferenceError. Actual: ' + (e));
}
}
-
diff --git a/test/suite/ch11/11.8/11.8.6/S11.8.6_A2.4_T1.js b/test/suite/ch11/11.8/11.8.6/S11.8.6_A2.4_T1.js
index 957c99b3b..0b713ac25 100644
--- a/test/suite/ch11/11.8/11.8.6/S11.8.6_A2.4_T1.js
+++ b/test/suite/ch11/11.8/11.8.6/S11.8.6_A2.4_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * First expression is evaluated first, and then second expression
- *
- * @path ch11/11.8/11.8.6/S11.8.6_A2.4_T1.js
- * @description Checking with "="
- */
+/*---
+info: First expression is evaluated first, and then second expression
+description: Checking with "="
+---*/
//CHECK#1
var OBJECT = 0;
@@ -19,5 +17,3 @@ var object = {};
if (object instanceof (object = 0, Object) !== true) {
$ERROR('#2: var object = {}; object instanceof (object = 0, Object) === true');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.6/S11.8.6_A2.4_T2.js b/test/suite/ch11/11.8/11.8.6/S11.8.6_A2.4_T2.js
index 5f87c4342..6f2ec9bfc 100644
--- a/test/suite/ch11/11.8/11.8.6/S11.8.6_A2.4_T2.js
+++ b/test/suite/ch11/11.8/11.8.6/S11.8.6_A2.4_T2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * First expression is evaluated first, and then second expression
- *
- * @path ch11/11.8/11.8.6/S11.8.6_A2.4_T2.js
- * @description Checking with "throw"
- */
+/*---
+info: First expression is evaluated first, and then second expression
+description: Checking with "throw"
+---*/
//CHECK#1
var x = function () { throw "x"; };
@@ -23,4 +21,3 @@ try {
}
}
}
-
diff --git a/test/suite/ch11/11.8/11.8.6/S11.8.6_A2.4_T3.js b/test/suite/ch11/11.8/11.8.6/S11.8.6_A2.4_T3.js
index 06ef16073..34b52a9ab 100644
--- a/test/suite/ch11/11.8/11.8.6/S11.8.6_A2.4_T3.js
+++ b/test/suite/ch11/11.8/11.8.6/S11.8.6_A2.4_T3.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * First expression is evaluated first, and then second expression
- *
- * @path ch11/11.8/11.8.6/S11.8.6_A2.4_T3.js
- * @description Checking with undeclarated variables
- */
+/*---
+info: First expression is evaluated first, and then second expression
+description: Checking with undeclarated variables
+---*/
//CHECK#1
try {
@@ -23,5 +21,3 @@ catch (e) {
if ((OBJECT = Object, {}) instanceof OBJECT !== true) {
$ERROR('#2: (OBJECT = Object, {}) instanceof OBJECT !== true');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.6/S11.8.6_A3.js b/test/suite/ch11/11.8/11.8.6/S11.8.6_A3.js
index da3d7e5dc..8b2134f1b 100644
--- a/test/suite/ch11/11.8/11.8.6/S11.8.6_A3.js
+++ b/test/suite/ch11/11.8/11.8.6/S11.8.6_A3.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If ShiftExpression is not an object, throw TypeError
- *
- * @path ch11/11.8/11.8.6/S11.8.6_A3.js
- * @description Checking all the types of primitives
- */
+/*---
+info: If ShiftExpression is not an object, throw TypeError
+description: Checking all the types of primitives
+---*/
//CHECK#1
try {
@@ -62,4 +60,3 @@ catch (e) {
$ERROR('#5: null instanceof null throw TypeError');
}
}
-
diff --git a/test/suite/ch11/11.8/11.8.6/S11.8.6_A4_T1.js b/test/suite/ch11/11.8/11.8.6/S11.8.6_A4_T1.js
index 0f9d2319d..2d8f596d0 100644
--- a/test/suite/ch11/11.8/11.8.6/S11.8.6_A4_T1.js
+++ b/test/suite/ch11/11.8/11.8.6/S11.8.6_A4_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Only constructor call (with "new" keyword) makes instance
- *
- * @path ch11/11.8/11.8.6/S11.8.6_A4_T1.js
- * @description Checking Boolean case
- */
+/*---
+info: Only constructor call (with "new" keyword) makes instance
+description: Checking Boolean case
+---*/
//CHECK#1
if (false instanceof Boolean) {
@@ -22,5 +20,3 @@ if (Boolean(false) instanceof Boolean) {
if (new Boolean instanceof Boolean !== true) {
$ERROR('#3: new Boolean instanceof Boolean');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.6/S11.8.6_A4_T2.js b/test/suite/ch11/11.8/11.8.6/S11.8.6_A4_T2.js
index a4f1f3c02..d52834d3e 100644
--- a/test/suite/ch11/11.8/11.8.6/S11.8.6_A4_T2.js
+++ b/test/suite/ch11/11.8/11.8.6/S11.8.6_A4_T2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Only constructor call (with "new" keyword) makes instance
- *
- * @path ch11/11.8/11.8.6/S11.8.6_A4_T2.js
- * @description Checking Number case
- */
+/*---
+info: Only constructor call (with "new" keyword) makes instance
+description: Checking Number case
+---*/
//CHECK#1
if (0 instanceof Number) {
@@ -22,5 +20,3 @@ if (Number(0) instanceof Number) {
if (new Number instanceof Number !== true) {
$ERROR('#3: new Number instanceof Number');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.6/S11.8.6_A4_T3.js b/test/suite/ch11/11.8/11.8.6/S11.8.6_A4_T3.js
index c8220049c..850da1852 100644
--- a/test/suite/ch11/11.8/11.8.6/S11.8.6_A4_T3.js
+++ b/test/suite/ch11/11.8/11.8.6/S11.8.6_A4_T3.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Only constructor call (with "new" keyword) makes instance
- *
- * @path ch11/11.8/11.8.6/S11.8.6_A4_T3.js
- * @description Checking String case
- */
+/*---
+info: Only constructor call (with "new" keyword) makes instance
+description: Checking String case
+---*/
//CHECK#1
if ("" instanceof String) {
@@ -22,4 +20,3 @@ if (String("") instanceof String) {
if (new String instanceof String !== true) {
$ERROR('#3: new String instanceof String');
}
-
diff --git a/test/suite/ch11/11.8/11.8.6/S11.8.6_A5_T1.js b/test/suite/ch11/11.8/11.8.6/S11.8.6_A5_T1.js
index a021a9ac3..078812903 100644
--- a/test/suite/ch11/11.8/11.8.6/S11.8.6_A5_T1.js
+++ b/test/suite/ch11/11.8/11.8.6/S11.8.6_A5_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * TypeError is subclass of Error from instanceof operator point of view
- *
- * @path ch11/11.8/11.8.6/S11.8.6_A5_T1.js
- * @description Checking Error case
- */
+/*---
+info: TypeError is subclass of Error from instanceof operator point of view
+description: Checking Error case
+---*/
var __err = new Error;
@@ -43,5 +41,3 @@ if (err__ instanceof TypeError) {
}
//
//////////////////////////////////////////////////////////////////////////////
-
-
diff --git a/test/suite/ch11/11.8/11.8.6/S11.8.6_A5_T2.js b/test/suite/ch11/11.8/11.8.6/S11.8.6_A5_T2.js
index 8a9814a52..bb87ad80a 100644
--- a/test/suite/ch11/11.8/11.8.6/S11.8.6_A5_T2.js
+++ b/test/suite/ch11/11.8/11.8.6/S11.8.6_A5_T2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * TypeError is subclass of Error from instanceof operator point of view
- *
- * @path ch11/11.8/11.8.6/S11.8.6_A5_T2.js
- * @description Checking TypeError case
- */
+/*---
+info: TypeError is subclass of Error from instanceof operator point of view
+description: Checking TypeError case
+---*/
var __t__err = new TypeError;
@@ -32,5 +30,3 @@ if (!(err__t__ instanceof Error)) {
if (!(err__t__ instanceof TypeError)) {
$ERROR('#4: TypeError is subclass of Error from instanceof operator point of view');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.6/S11.8.6_A6_T1.js b/test/suite/ch11/11.8/11.8.6/S11.8.6_A6_T1.js
index 16e0d82b3..7e85c8185 100644
--- a/test/suite/ch11/11.8/11.8.6/S11.8.6_A6_T1.js
+++ b/test/suite/ch11/11.8/11.8.6/S11.8.6_A6_T1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Only Function objects implement [[HasInstance]] and can be proper ShiftExpression for the "instanceof" operator consequently
- *
- * @path ch11/11.8/11.8.6/S11.8.6_A6_T1.js
- * @description Checking "this" case
- */
+/*---
+info: >
+ Only Function objects implement [[HasInstance]] and can be proper
+ ShiftExpression for the "instanceof" operator consequently
+description: Checking "this" case
+---*/
//CHECK#1
try{
@@ -18,4 +18,3 @@ catch(e){
$ERROR('#1: Only Function objects implement [[HasInstance]] and consequently can be proper ShiftExpression for The instanceof operator');
}
}
-
diff --git a/test/suite/ch11/11.8/11.8.6/S11.8.6_A6_T2.js b/test/suite/ch11/11.8/11.8.6/S11.8.6_A6_T2.js
index f25dbed82..2d8d2a431 100644
--- a/test/suite/ch11/11.8/11.8.6/S11.8.6_A6_T2.js
+++ b/test/suite/ch11/11.8/11.8.6/S11.8.6_A6_T2.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Only Function objects implement [[HasInstance]] and can be proper ShiftExpression for the "instanceof" operator consequently
- *
- * @path ch11/11.8/11.8.6/S11.8.6_A6_T2.js
- * @description Checking Math case
- */
+/*---
+info: >
+ Only Function objects implement [[HasInstance]] and can be proper
+ ShiftExpression for the "instanceof" operator consequently
+description: Checking Math case
+---*/
//CHECK#1
try{
@@ -18,4 +18,3 @@ catch(e){
$ERROR('#1: 1 instanceof Math throw TypeError');
}
}
-
diff --git a/test/suite/ch11/11.8/11.8.6/S11.8.6_A6_T3.js b/test/suite/ch11/11.8/11.8.6/S11.8.6_A6_T3.js
index 24773ad97..3fac0a92e 100644
--- a/test/suite/ch11/11.8/11.8.6/S11.8.6_A6_T3.js
+++ b/test/suite/ch11/11.8/11.8.6/S11.8.6_A6_T3.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Only Function objects implement [[HasInstance]] and can be proper ShiftExpression for the "instanceof" operator consequently
- *
- * @path ch11/11.8/11.8.6/S11.8.6_A6_T3.js
- * @description Checking if RelationalExpression is function
- */
+/*---
+info: >
+ Only Function objects implement [[HasInstance]] and can be proper
+ ShiftExpression for the "instanceof" operator consequently
+description: Checking if RelationalExpression is function
+---*/
function MyFunct(){return 0};
@@ -24,4 +24,3 @@ if (MyFunct instanceof Function !== true){
if (MyFunct instanceof Object !== true){
$ERROR('#3 function MyFunct(){return 0}; MyFunct instanceof Object === true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.6/S11.8.6_A6_T4.js b/test/suite/ch11/11.8/11.8.6/S11.8.6_A6_T4.js
index 68aa843e8..1164efd7b 100644
--- a/test/suite/ch11/11.8/11.8.6/S11.8.6_A6_T4.js
+++ b/test/suite/ch11/11.8/11.8.6/S11.8.6_A6_T4.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Only Function objects implement [[HasInstance]] and can be proper ShiftExpression for the "instanceof" operator consequently
- *
- * @path ch11/11.8/11.8.6/S11.8.6_A6_T4.js
- * @description Checking if RelationalExpression is object
- */
+/*---
+info: >
+ Only Function objects implement [[HasInstance]] and can be proper
+ ShiftExpression for the "instanceof" operator consequently
+description: Checking if RelationalExpression is object
+---*/
MyFunct = function(){};
__my__funct = new MyFunct;
@@ -37,4 +37,3 @@ catch(e){
$ERROR('#4 Only Function objects implement [[HasInstance]] and consequently can be proper ShiftExpression for The instanceof operator');
}
}
-
diff --git a/test/suite/ch11/11.8/11.8.6/S11.8.6_A7_T1.js b/test/suite/ch11/11.8/11.8.6/S11.8.6_A7_T1.js
index 97944a5fd..ae9fe0bb4 100644
--- a/test/suite/ch11/11.8/11.8.6/S11.8.6_A7_T1.js
+++ b/test/suite/ch11/11.8/11.8.6/S11.8.6_A7_T1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * When "instanceof" returns true it means that GetValue(RelationalExpression) is constructed with ShiftExpression
- *
- * @path ch11/11.8/11.8.6/S11.8.6_A7_T1.js
- * @description Checking Object object
- */
+/*---
+info: >
+ When "instanceof" returns true it means that
+ GetValue(RelationalExpression) is constructed with ShiftExpression
+description: Checking Object object
+---*/
var __obj={};
@@ -19,4 +19,3 @@ if (!(__obj instanceof Object)) {
if (__obj.constructor !== Object) {
$ERROR('#2: If instanceof returns true then GetValue(RelationalExpression) was constructed with ShiftExpression');
}
-
diff --git a/test/suite/ch11/11.8/11.8.6/S11.8.6_A7_T2.js b/test/suite/ch11/11.8/11.8.6/S11.8.6_A7_T2.js
index c77c93c18..718516ff5 100644
--- a/test/suite/ch11/11.8/11.8.6/S11.8.6_A7_T2.js
+++ b/test/suite/ch11/11.8/11.8.6/S11.8.6_A7_T2.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * When "instanceof" returns true it means that GetValue(RelationalExpression) is constructed with ShiftExpression
- *
- * @path ch11/11.8/11.8.6/S11.8.6_A7_T2.js
- * @description Checking Array object
- */
+/*---
+info: >
+ When "instanceof" returns true it means that
+ GetValue(RelationalExpression) is constructed with ShiftExpression
+description: Checking Array object
+---*/
var __arr=[];
@@ -19,4 +19,3 @@ if (!(__arr instanceof Array)) {
if (__arr.constructor !== Array) {
$ERROR('#2: If instanceof returns true then GetValue(RelationalExpression) was constructed with ShiftExpression');
}
-
diff --git a/test/suite/ch11/11.8/11.8.6/S11.8.6_A7_T3.js b/test/suite/ch11/11.8/11.8.6/S11.8.6_A7_T3.js
index 8d476a8ad..a13bce785 100644
--- a/test/suite/ch11/11.8/11.8.6/S11.8.6_A7_T3.js
+++ b/test/suite/ch11/11.8/11.8.6/S11.8.6_A7_T3.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * When "instanceof" returns true it means that GetValue(RelationalExpression) is constructed with ShiftExpression
- *
- * @path ch11/11.8/11.8.6/S11.8.6_A7_T3.js
- * @description Checking Function object
- */
+/*---
+info: >
+ When "instanceof" returns true it means that
+ GetValue(RelationalExpression) is constructed with ShiftExpression
+description: Checking Function object
+---*/
var __func = new Function;
@@ -19,5 +19,3 @@ if (!(__func instanceof Function)) {
if (__func.constructor !== Function) {
$ERROR('#2: If instanceof returns true then GetValue(RelationalExpression) was constructed with ShiftExpression');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.7/S11.8.7_A1.js b/test/suite/ch11/11.8/11.8.7/S11.8.7_A1.js
index 93c67bfcc..3005d6f95 100644
--- a/test/suite/ch11/11.8/11.8.7/S11.8.7_A1.js
+++ b/test/suite/ch11/11.8/11.8.7/S11.8.7_A1.js
@@ -1,12 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * White Space and Line Terminator between RelationalExpression and "in" and between "in" and ShiftExpression are allowed
- *
- * @path ch11/11.8/11.8.7/S11.8.7_A1.js
- * @description Checking by using eval
- */
+/*---
+info: >
+ White Space and Line Terminator between RelationalExpression and "in" and
+ between "in" and ShiftExpression are allowed
+description: Checking by using eval
+---*/
//CHECK#1
if (eval("'MAX_VALUE'\u0009in\u0009Number") !== true) {
@@ -57,4 +57,3 @@ if (eval("'MAX_VALUE'\u2029in\u2029Number") !== true) {
if (eval("'MAX_VALUE'\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029in\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029Number") !== true) {
$ERROR('#10: "MAX_VALUE"\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029in\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029Number === true');
}
-
diff --git a/test/suite/ch11/11.8/11.8.7/S11.8.7_A2.1_T1.js b/test/suite/ch11/11.8/11.8.7/S11.8.7_A2.1_T1.js
index 0e33a3d02..b24241ff5 100644
--- a/test/suite/ch11/11.8/11.8.7/S11.8.7_A2.1_T1.js
+++ b/test/suite/ch11/11.8/11.8.7/S11.8.7_A2.1_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator "in" uses GetValue
- *
- * @path ch11/11.8/11.8.7/S11.8.7_A2.1_T1.js
- * @description Either Expression is not Reference or GetBase is not null
- */
+/*---
+info: Operator "in" uses GetValue
+description: Either Expression is not Reference or GetBase is not null
+---*/
//CHECK#1
if ("MAX_VALUE" in Number !== true) {
@@ -31,5 +29,3 @@ var y = Number;
if (x in y !== true) {
$ERROR('#4: var x = "MAX_VALUE"; var y = Number; x in y === true');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.7/S11.8.7_A2.1_T2.js b/test/suite/ch11/11.8/11.8.7/S11.8.7_A2.1_T2.js
index 307b23b83..fcf3983ec 100644
--- a/test/suite/ch11/11.8/11.8.7/S11.8.7_A2.1_T2.js
+++ b/test/suite/ch11/11.8/11.8.7/S11.8.7_A2.1_T2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator "in" uses GetValue
- *
- * @path ch11/11.8/11.8.7/S11.8.7_A2.1_T2.js
- * @description If GetBase(RelationalExpression) is null, throw ReferenceError
- */
+/*---
+info: Operator "in" uses GetValue
+description: If GetBase(RelationalExpression) is null, throw ReferenceError
+---*/
//CHECK#1
try {
@@ -18,4 +16,3 @@ catch (e) {
$ERROR('#1.2: MAX_VALUE in Number throw ReferenceError. Actual: ' + (e));
}
}
-
diff --git a/test/suite/ch11/11.8/11.8.7/S11.8.7_A2.1_T3.js b/test/suite/ch11/11.8/11.8.7/S11.8.7_A2.1_T3.js
index 89f69661a..10fd2243a 100644
--- a/test/suite/ch11/11.8/11.8.7/S11.8.7_A2.1_T3.js
+++ b/test/suite/ch11/11.8/11.8.7/S11.8.7_A2.1_T3.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator "in" uses GetValue
- *
- * @path ch11/11.8/11.8.7/S11.8.7_A2.1_T3.js
- * @description If GetBase(ShiftExpression) is null, throw ReferenceError
- */
+/*---
+info: Operator "in" uses GetValue
+description: If GetBase(ShiftExpression) is null, throw ReferenceError
+---*/
//CHECK#1
try {
@@ -18,4 +16,3 @@ catch (e) {
$ERROR('#1.2: "MAX_VALUE" in NUMBER throw ReferenceError. Actual: ' + (e));
}
}
-
diff --git a/test/suite/ch11/11.8/11.8.7/S11.8.7_A2.4_T1.js b/test/suite/ch11/11.8/11.8.7/S11.8.7_A2.4_T1.js
index 5403131ae..8f29eed1b 100644
--- a/test/suite/ch11/11.8/11.8.7/S11.8.7_A2.4_T1.js
+++ b/test/suite/ch11/11.8/11.8.7/S11.8.7_A2.4_T1.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * First expression is evaluated first, and then second expression
- *
- * @path ch11/11.8/11.8.7/S11.8.7_A2.4_T1.js
- * @description Checking with "="
- */
+/*---
+info: First expression is evaluated first, and then second expression
+description: Checking with "="
+---*/
//CHECK#1
var NUMBER = 0;
@@ -19,5 +17,3 @@ var max_value = "MAX_VALUE";
if (max_value in (max_value = "none", Number) !== true) {
$ERROR('#2: var max_value = "MAX_VALUE"; max_value in (max_value = "none", Number) === true');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.7/S11.8.7_A2.4_T2.js b/test/suite/ch11/11.8/11.8.7/S11.8.7_A2.4_T2.js
index 3016c2278..d20425193 100644
--- a/test/suite/ch11/11.8/11.8.7/S11.8.7_A2.4_T2.js
+++ b/test/suite/ch11/11.8/11.8.7/S11.8.7_A2.4_T2.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * First expression is evaluated first, and then second expression
- *
- * @path ch11/11.8/11.8.7/S11.8.7_A2.4_T2.js
- * @description Checking with "throw"
- */
+/*---
+info: First expression is evaluated first, and then second expression
+description: Checking with "throw"
+---*/
//CHECK#1
var x = function () { throw "x"; };
@@ -23,4 +21,3 @@ try {
}
}
}
-
diff --git a/test/suite/ch11/11.8/11.8.7/S11.8.7_A2.4_T3.js b/test/suite/ch11/11.8/11.8.7/S11.8.7_A2.4_T3.js
index 22744621a..42dacc9fc 100644
--- a/test/suite/ch11/11.8/11.8.7/S11.8.7_A2.4_T3.js
+++ b/test/suite/ch11/11.8/11.8.7/S11.8.7_A2.4_T3.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * First expression is evaluated first, and then second expression
- *
- * @path ch11/11.8/11.8.7/S11.8.7_A2.4_T3.js
- * @description Checking with undeclarated variables
- */
+/*---
+info: First expression is evaluated first, and then second expression
+description: Checking with undeclarated variables
+---*/
//CHECK#1
try {
@@ -23,5 +21,3 @@ catch (e) {
if ((NUMBER = Number, "MAX_VALUE") in NUMBER !== true) {
$ERROR('#2: (NUMBER = Number, "MAX_VALUE") in NUMBER !== true');
}
-
-
diff --git a/test/suite/ch11/11.8/11.8.7/S11.8.7_A3.js b/test/suite/ch11/11.8/11.8.7/S11.8.7_A3.js
index 56dc73198..af188bc89 100644
--- a/test/suite/ch11/11.8/11.8.7/S11.8.7_A3.js
+++ b/test/suite/ch11/11.8/11.8.7/S11.8.7_A3.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If ShiftExpression is not an object, throw TypeError
- *
- * @path ch11/11.8/11.8.7/S11.8.7_A3.js
- * @description Checking all the types of primitives
- */
+/*---
+info: If ShiftExpression is not an object, throw TypeError
+description: Checking all the types of primitives
+---*/
//CHECK#1
try {
@@ -62,4 +60,3 @@ catch (e) {
$ERROR('#5: "toString" in null throw TypeError');
}
}
-
diff --git a/test/suite/ch11/11.8/11.8.7/S11.8.7_A4.js b/test/suite/ch11/11.8/11.8.7/S11.8.7_A4.js
index fcb4a6b86..9386f76af 100644
--- a/test/suite/ch11/11.8/11.8.7/S11.8.7_A4.js
+++ b/test/suite/ch11/11.8/11.8.7/S11.8.7_A4.js
@@ -1,12 +1,10 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Operator "in" calls ToString(ShiftExpression)
- *
- * @path ch11/11.8/11.8.7/S11.8.7_A4.js
- * @description Checking ToString coversion;
- */
+/*---
+info: Operator "in" calls ToString(ShiftExpression)
+description: Checking ToString coversion;
+---*/
//CHECK#1
var object = {};
@@ -35,4 +33,3 @@ object["null"] = 1;
if (null in object !== "null" in object) {
$ERROR('#5: "var object = {}; object["null"] = 1; null in object === "null" in object');
}
-