aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/ch11/11.8/11.8.3
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/ch11/11.8/11.8.3')
-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
41 files changed, 381 insertions, 425 deletions
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');
}
-
-
-