aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/ch11/11.9/11.9.2
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/ch11/11.9/11.9.2')
-rw-r--r--test/suite/ch11/11.9/11.9.2/S11.9.2_A1.js13
-rw-r--r--test/suite/ch11/11.9/11.9.2/S11.9.2_A2.1_T1.js11
-rw-r--r--test/suite/ch11/11.9/11.9.2/S11.9.2_A2.1_T2.js12
-rw-r--r--test/suite/ch11/11.9/11.9.2/S11.9.2_A2.1_T3.js12
-rw-r--r--test/suite/ch11/11.9/11.9.2/S11.9.2_A2.4_T1.js12
-rw-r--r--test/suite/ch11/11.9/11.9.2/S11.9.2_A2.4_T2.js11
-rw-r--r--test/suite/ch11/11.9/11.9.2/S11.9.2_A2.4_T3.js12
-rw-r--r--test/suite/ch11/11.9/11.9.2/S11.9.2_A3.1.js13
-rw-r--r--test/suite/ch11/11.9/11.9.2/S11.9.2_A3.2.js15
-rw-r--r--test/suite/ch11/11.9/11.9.2/S11.9.2_A3.3.js14
-rw-r--r--test/suite/ch11/11.9/11.9.2/S11.9.2_A4.1_T1.js12
-rw-r--r--test/suite/ch11/11.9/11.9.2/S11.9.2_A4.1_T2.js11
-rw-r--r--test/suite/ch11/11.9/11.9.2/S11.9.2_A4.2.js11
-rw-r--r--test/suite/ch11/11.9/11.9.2/S11.9.2_A4.3.js14
-rw-r--r--test/suite/ch11/11.9/11.9.2/S11.9.2_A5.1.js14
-rw-r--r--test/suite/ch11/11.9/11.9.2/S11.9.2_A5.2.js14
-rw-r--r--test/suite/ch11/11.9/11.9.2/S11.9.2_A5.3.js15
-rw-r--r--test/suite/ch11/11.9/11.9.2/S11.9.2_A6.1.js11
-rw-r--r--test/suite/ch11/11.9/11.9.2/S11.9.2_A6.2_T1.js11
-rw-r--r--test/suite/ch11/11.9/11.9.2/S11.9.2_A6.2_T2.js11
-rw-r--r--test/suite/ch11/11.9/11.9.2/S11.9.2_A7.1.js16
-rw-r--r--test/suite/ch11/11.9/11.9.2/S11.9.2_A7.2.js14
-rw-r--r--test/suite/ch11/11.9/11.9.2/S11.9.2_A7.3.js14
-rw-r--r--test/suite/ch11/11.9/11.9.2/S11.9.2_A7.4.js14
-rw-r--r--test/suite/ch11/11.9/11.9.2/S11.9.2_A7.5.js14
-rw-r--r--test/suite/ch11/11.9/11.9.2/S11.9.2_A7.6.js14
-rw-r--r--test/suite/ch11/11.9/11.9.2/S11.9.2_A7.7.js14
-rw-r--r--test/suite/ch11/11.9/11.9.2/S11.9.2_A7.8.js14
-rw-r--r--test/suite/ch11/11.9/11.9.2/S11.9.2_A7.9.js14
29 files changed, 152 insertions, 225 deletions
diff --git a/test/suite/ch11/11.9/11.9.2/S11.9.2_A1.js b/test/suite/ch11/11.9/11.9.2/S11.9.2_A1.js
index 5478e2d8c..e78c7d46d 100644
--- a/test/suite/ch11/11.9/11.9.2/S11.9.2_A1.js
+++ b/test/suite/ch11/11.9/11.9.2/S11.9.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 EqualityExpression and "!=" or between "!=" and RelationalExpression are allowed
- *
- * @path ch11/11.9/11.9.2/S11.9.2_A1.js
- * @description Checking by using eval
- */
+/*---
+info: >
+ White Space and Line Terminator between EqualityExpression and "!=" or
+ between "!=" and RelationalExpression are allowed
+description: Checking by using eval
+---*/
//CHECK#1
if (eval("true\u0009!=\u00091") !== false) {
@@ -57,4 +57,3 @@ if (eval("true\u2029!=\u20291") !== false) {
if (eval("true\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029!=\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291") !== false) {
$ERROR('#10: (true\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029!=\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === false');
}
-
diff --git a/test/suite/ch11/11.9/11.9.2/S11.9.2_A2.1_T1.js b/test/suite/ch11/11.9/11.9.2/S11.9.2_A2.1_T1.js
index 12b5bbe42..89ad1586d 100644
--- a/test/suite/ch11/11.9/11.9.2/S11.9.2_A2.1_T1.js
+++ b/test/suite/ch11/11.9/11.9.2/S11.9.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.9/11.9.2/S11.9.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 ((1 != 1) !== false) {
@@ -40,4 +38,3 @@ objecty.prop = 1;
if ((objectx.prop != objecty.prop) !== false) {
$ERROR('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 1; (objectx.prop != objecty.prop) === false');
}
-
diff --git a/test/suite/ch11/11.9/11.9.2/S11.9.2_A2.1_T2.js b/test/suite/ch11/11.9/11.9.2/S11.9.2_A2.1_T2.js
index aaf6f6a8c..d402b603f 100644
--- a/test/suite/ch11/11.9/11.9.2/S11.9.2_A2.1_T2.js
+++ b/test/suite/ch11/11.9/11.9.2/S11.9.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.9/11.9.2/S11.9.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.9/11.9.2/S11.9.2_A2.1_T3.js b/test/suite/ch11/11.9/11.9.2/S11.9.2_A2.1_T3.js
index f8e65a173..8dd294198 100644
--- a/test/suite/ch11/11.9/11.9.2/S11.9.2_A2.1_T3.js
+++ b/test/suite/ch11/11.9/11.9.2/S11.9.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.9/11.9.2/S11.9.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.9/11.9.2/S11.9.2_A2.4_T1.js b/test/suite/ch11/11.9/11.9.2/S11.9.2_A2.4_T1.js
index 5cb029e4f..a9ed305de 100644
--- a/test/suite/ch11/11.9/11.9.2/S11.9.2_A2.4_T1.js
+++ b/test/suite/ch11/11.9/11.9.2/S11.9.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.9/11.9.2/S11.9.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 = 0;
if ((x != (x = 1)) !== true) {
$ERROR('#2: var x = 0; (x != (x = 1)) === true');
}
-
-
diff --git a/test/suite/ch11/11.9/11.9.2/S11.9.2_A2.4_T2.js b/test/suite/ch11/11.9/11.9.2/S11.9.2_A2.4_T2.js
index 6570ee33b..85a9cd058 100644
--- a/test/suite/ch11/11.9/11.9.2/S11.9.2_A2.4_T2.js
+++ b/test/suite/ch11/11.9/11.9.2/S11.9.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.9/11.9.2/S11.9.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.9/11.9.2/S11.9.2_A2.4_T3.js b/test/suite/ch11/11.9/11.9.2/S11.9.2_A2.4_T3.js
index 93cde317e..1a49ae5f0 100644
--- a/test/suite/ch11/11.9/11.9.2/S11.9.2_A2.4_T3.js
+++ b/test/suite/ch11/11.9/11.9.2/S11.9.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.9/11.9.2/S11.9.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.9/11.9.2/S11.9.2_A3.1.js b/test/suite/ch11/11.9/11.9.2/S11.9.2_A3.1.js
index 79921a295..8afcdb447 100644
--- a/test/suite/ch11/11.9/11.9.2/S11.9.2_A3.1.js
+++ b/test/suite/ch11/11.9/11.9.2/S11.9.2_A3.1.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.
-/**
- * Return false, if x and y are both true or both false; otherwise, return true
- *
- * @path ch11/11.9/11.9.2/S11.9.2_A3.1.js
- * @description x and y are boolean primitives
- */
+/*---
+info: >
+ Return false, if x and y are both true or both false; otherwise, return
+ true
+description: x and y are boolean primitives
+---*/
//CHECK#1
if ((true != true) !== false) {
@@ -27,4 +27,3 @@ if ((true != false) !== true) {
if ((false != true) !== true) {
$ERROR('#4: (false != true) === true');
}
-
diff --git a/test/suite/ch11/11.9/11.9.2/S11.9.2_A3.2.js b/test/suite/ch11/11.9/11.9.2/S11.9.2_A3.2.js
index ff0f9c832..1bffe145b 100644
--- a/test/suite/ch11/11.9/11.9.2/S11.9.2_A3.2.js
+++ b/test/suite/ch11/11.9/11.9.2/S11.9.2_A3.2.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(x) is Boolean and Type(y) is Number,
- * return the result of comparison ToNumber(x) != y
- *
- * @path ch11/11.9/11.9.2/S11.9.2_A3.2.js
- * @description x is primitive boolean, y is primitive number
- */
+/*---
+info: >
+ If Type(x) is Boolean and Type(y) is Number,
+ return the result of comparison ToNumber(x) != y
+description: x is primitive boolean, y is primitive number
+---*/
//CHECK#1
if ((true != 1) !== false) {
@@ -28,5 +27,3 @@ if ((true != new Boolean(true)) !== false) {
if ((true != {valueOf: function () {return 1}}) !== false) {
$ERROR('#4: (true != {valueOf: function () {return 1}}) === false');
}
-
-
diff --git a/test/suite/ch11/11.9/11.9.2/S11.9.2_A3.3.js b/test/suite/ch11/11.9/11.9.2/S11.9.2_A3.3.js
index b32bf7fbd..c15ae3a83 100644
--- a/test/suite/ch11/11.9/11.9.2/S11.9.2_A3.3.js
+++ b/test/suite/ch11/11.9/11.9.2/S11.9.2_A3.3.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(y) is Number and Type(y) is Boolean,
- * return the result of comparison x != ToNumber(y)
- *
- * @path ch11/11.9/11.9.2/S11.9.2_A3.3.js
- * @description x is primitive number, y is primitive boolean
- */
+/*---
+info: >
+ If Type(y) is Number and Type(y) is Boolean,
+ return the result of comparison x != ToNumber(y)
+description: x is primitive number, y is primitive boolean
+---*/
//CHECK#1
if ((0 != false) !== false) {
@@ -28,4 +27,3 @@ if ((new Boolean(false) != false) !== false) {
if (({valueOf: function () {return "0"}} != false) !== false) {
$ERROR('#4: ({valueOf: function () {return "0"}} != false) === false');
}
-
diff --git a/test/suite/ch11/11.9/11.9.2/S11.9.2_A4.1_T1.js b/test/suite/ch11/11.9/11.9.2/S11.9.2_A4.1_T1.js
index 98b9d074b..98a5e9c7c 100644
--- a/test/suite/ch11/11.9/11.9.2/S11.9.2_A4.1_T1.js
+++ b/test/suite/ch11/11.9/11.9.2/S11.9.2_A4.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.
-/**
- * If x or y is NaN, return true
- *
- * @path ch11/11.9/11.9.2/S11.9.2_A4.1_T1.js
- * @description x is NaN
- */
+/*---
+info: If x or y is NaN, return true
+description: x is NaN
+---*/
//CHECK#1
if ((Number.NaN != true) !== true) {
@@ -52,5 +50,3 @@ if ((Number.NaN != "string") !== true) {
if ((Number.NaN != new Object()) !== true) {
$ERROR('#9: (NaN != new Object()) === true');
}
-
-
diff --git a/test/suite/ch11/11.9/11.9.2/S11.9.2_A4.1_T2.js b/test/suite/ch11/11.9/11.9.2/S11.9.2_A4.1_T2.js
index 471bcb6f6..42b2a9dc7 100644
--- a/test/suite/ch11/11.9/11.9.2/S11.9.2_A4.1_T2.js
+++ b/test/suite/ch11/11.9/11.9.2/S11.9.2_A4.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.
-/**
- * If x or y is NaN, return true
- *
- * @path ch11/11.9/11.9.2/S11.9.2_A4.1_T2.js
- * @description y is NaN
- */
+/*---
+info: If x or y is NaN, return true
+description: y is NaN
+---*/
//CHECK#1
if ((true != Number.NaN) !== true) {
@@ -52,4 +50,3 @@ if (("string" != Number.NaN) !== true) {
if ((new Object() != Number.NaN) !== true) {
$ERROR('#9: (new Object() != NaN) === true');
}
-
diff --git a/test/suite/ch11/11.9/11.9.2/S11.9.2_A4.2.js b/test/suite/ch11/11.9/11.9.2/S11.9.2_A4.2.js
index b8045a6a0..725079ab2 100644
--- a/test/suite/ch11/11.9/11.9.2/S11.9.2_A4.2.js
+++ b/test/suite/ch11/11.9/11.9.2/S11.9.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 x is +0(-0) and y is -0(+0), return false
- *
- * @path ch11/11.9/11.9.2/S11.9.2_A4.2.js
- * @description Checking all combinations
- */
+/*---
+info: If x is +0(-0) and y is -0(+0), return false
+description: Checking all combinations
+---*/
//CHECK#1
if ((+0 != -0) !== false) {
@@ -17,4 +15,3 @@ if ((+0 != -0) !== false) {
if ((-0 != +0) !== false) {
$ERROR('#2: (-0 != +0) === false');
}
-
diff --git a/test/suite/ch11/11.9/11.9.2/S11.9.2_A4.3.js b/test/suite/ch11/11.9/11.9.2/S11.9.2_A4.3.js
index 21cc16ee1..c16bd41db 100644
--- a/test/suite/ch11/11.9/11.9.2/S11.9.2_A4.3.js
+++ b/test/suite/ch11/11.9/11.9.2/S11.9.2_A4.3.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Type(x) and Type(y) are Number-s minus NaN, +0, -0.
- * Return false, if x is the same number value as y; otherwise, return true
- *
- * @path ch11/11.9/11.9.2/S11.9.2_A4.3.js
- * @description x and y are primitive numbers
- */
+/*---
+info: >
+ Type(x) and Type(y) are Number-s minus NaN, +0, -0.
+ Return false, if x is the same number value as y; otherwise, return true
+description: x and y are primitive numbers
+---*/
//CHECK#1
if ((Number.POSITIVE_INFINITY != Number.POSITIVE_INFINITY) !== false) {
@@ -33,4 +32,3 @@ if ((1 != 0.999999999999) !== true) {
if ((1.0 != 1) !== false) {
$ERROR('#5: (1.0 != 1) === false');
}
-
diff --git a/test/suite/ch11/11.9/11.9.2/S11.9.2_A5.1.js b/test/suite/ch11/11.9/11.9.2/S11.9.2_A5.1.js
index 9476d907a..815948ff2 100644
--- a/test/suite/ch11/11.9/11.9.2/S11.9.2_A5.1.js
+++ b/test/suite/ch11/11.9/11.9.2/S11.9.2_A5.1.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Type(x) and Type(y) are String-s.
- * Return true, if x and y are exactly the same sequence of characters; otherwise, return false
- *
- * @path ch11/11.9/11.9.2/S11.9.2_A5.1.js
- * @description x and y are primitive strings
- */
+/*---
+info: >
+ Type(x) and Type(y) are String-s.
+ Return true, if x and y are exactly the same sequence of characters; otherwise, return false
+description: x and y are primitive strings
+---*/
//CHECK#1
if (("" != "") !== false) {
@@ -43,4 +42,3 @@ if (("1.0" != "1") !== true) {
if (("0xff" != "255") !== true) {
$ERROR('#7: ("0xff" != "255") === true');
}
-
diff --git a/test/suite/ch11/11.9/11.9.2/S11.9.2_A5.2.js b/test/suite/ch11/11.9/11.9.2/S11.9.2_A5.2.js
index f63ffc17d..f0b708ed8 100644
--- a/test/suite/ch11/11.9/11.9.2/S11.9.2_A5.2.js
+++ b/test/suite/ch11/11.9/11.9.2/S11.9.2_A5.2.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(x) is Number and Type(y) is String,
- * return the result of comparison x != ToNumber(y)
- *
- * @path ch11/11.9/11.9.2/S11.9.2_A5.2.js
- * @description x is primitive number, y is primitive string
- */
+/*---
+info: >
+ If Type(x) is Number and Type(y) is String,
+ return the result of comparison x != ToNumber(y)
+description: x is primitive number, y is primitive string
+---*/
//CHECK#1
if ((1 != "1") !== false) {
@@ -33,4 +32,3 @@ if ((255 != "0xff") !== false) {
if ((0 != "") !== false) {
$ERROR('#5: (0 != "") === false');
}
-
diff --git a/test/suite/ch11/11.9/11.9.2/S11.9.2_A5.3.js b/test/suite/ch11/11.9/11.9.2/S11.9.2_A5.3.js
index dedd18ce0..c3b29e794 100644
--- a/test/suite/ch11/11.9/11.9.2/S11.9.2_A5.3.js
+++ b/test/suite/ch11/11.9/11.9.2/S11.9.2_A5.3.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(x) is String and Type(y) is Number,
- * return the result of comparison ToNumber(x) != y
- *
- * @path ch11/11.9/11.9.2/S11.9.2_A5.3.js
- * @description x is primitive string, y is primitive number
- */
+/*---
+info: >
+ If Type(x) is String and Type(y) is Number,
+ return the result of comparison ToNumber(x) != y
+description: x is primitive string, y is primitive number
+---*/
//CHECK#1
if (("-1" != -1) !== false) {
@@ -28,5 +27,3 @@ if (("false" != 0) !== true) {
if (("5e-324" != 5e-324) !== false) {
$ERROR('#4: ("5e-324" != 5e-324) === false');
}
-
-
diff --git a/test/suite/ch11/11.9/11.9.2/S11.9.2_A6.1.js b/test/suite/ch11/11.9/11.9.2/S11.9.2_A6.1.js
index 8d0cfcd35..07fefecd5 100644
--- a/test/suite/ch11/11.9/11.9.2/S11.9.2_A6.1.js
+++ b/test/suite/ch11/11.9/11.9.2/S11.9.2_A6.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 Type(x) as well as Type(y) is Undefined or Null, return true
- *
- * @path ch11/11.9/11.9.2/S11.9.2_A6.1.js
- * @description Checking all combinations
- */
+/*---
+info: If Type(x) as well as Type(y) is Undefined or Null, return true
+description: Checking all combinations
+---*/
//CHECK#1
if ((undefined != undefined) !== false) {
@@ -37,4 +35,3 @@ if ((null != void 0) !== false) {
if ((null != null) !== false) {
$ERROR('#6: (null != null) === false');
}
-
diff --git a/test/suite/ch11/11.9/11.9.2/S11.9.2_A6.2_T1.js b/test/suite/ch11/11.9/11.9.2/S11.9.2_A6.2_T1.js
index e9a60e124..db98e65a1 100644
--- a/test/suite/ch11/11.9/11.9.2/S11.9.2_A6.2_T1.js
+++ b/test/suite/ch11/11.9/11.9.2/S11.9.2_A6.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.
-/**
- * If one expression is undefined or null and another is not, return false
- *
- * @path ch11/11.9/11.9.2/S11.9.2_A6.2_T1.js
- * @description x is null or undefined, y is not
- */
+/*---
+info: If one expression is undefined or null and another is not, return false
+description: x is null or undefined, y is not
+---*/
//CHECK#1
if ((undefined != true) !== true) {
@@ -47,4 +45,3 @@ if ((null != "null") !== true) {
if ((null != {}) !== true) {
$ERROR('#8: (null != {}) === true');
}
-
diff --git a/test/suite/ch11/11.9/11.9.2/S11.9.2_A6.2_T2.js b/test/suite/ch11/11.9/11.9.2/S11.9.2_A6.2_T2.js
index 05b592b48..f9521c352 100644
--- a/test/suite/ch11/11.9/11.9.2/S11.9.2_A6.2_T2.js
+++ b/test/suite/ch11/11.9/11.9.2/S11.9.2_A6.2_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.
-/**
- * If one expression is undefined or null and another is not, return false
- *
- * @path ch11/11.9/11.9.2/S11.9.2_A6.2_T2.js
- * @description y is null or undefined, x is not
- */
+/*---
+info: If one expression is undefined or null and another is not, return false
+description: y is null or undefined, x is not
+---*/
//CHECK#1
if ((false != undefined) !== true) {
@@ -47,4 +45,3 @@ if (("null" != null) !== true) {
if (({} != null) !== true) {
$ERROR('#8: ({} != null) === true');
}
-
diff --git a/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.1.js b/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.1.js
index 66b468892..9248f8ab5 100644
--- a/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.1.js
+++ b/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.1.js
@@ -1,13 +1,14 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * Type(x) and Type(y) are Object-s.
- * Return true, if x and y are references to the same Object; otherwise, return false
- *
- * @path ch11/11.9/11.9.2/S11.9.2_A7.1.js
- * @description Checking Boolean object, Number object, String object, Object object
- */
+/*---
+info: >
+ Type(x) and Type(y) are Object-s.
+ Return true, if x and y are references to the same Object; otherwise, return false
+description: >
+ Checking Boolean object, Number object, String object, Object
+ object
+---*/
//CHECK#1
if ((new Boolean(true) != new Boolean(true)) !== true) {
@@ -50,4 +51,3 @@ if ((new Number(1) != new String("1")) !== true) {
if ((new String("1") != new Boolean(true)) !== true) {
$ERROR('#8: (new String("x") != new Boolean(true)) === true');
}
-
diff --git a/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.2.js b/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.2.js
index 44252a045..75a4afc47 100644
--- a/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.2.js
+++ b/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.2.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(x) is Object and Type(y) is Boolean,
- * return ToPrimitive(x) != y
- *
- * @path ch11/11.9/11.9.2/S11.9.2_A7.2.js
- * @description x is object, y is primitive boolean
- */
+/*---
+info: >
+ If Type(x) is Object and Type(y) is Boolean,
+ return ToPrimitive(x) != y
+description: x is object, y is primitive boolean
+---*/
//CHECK#1
if ((new Boolean(true) != true) !== false) {
@@ -23,4 +22,3 @@ if ((new Number(1) != true) !== false) {
if ((new String("1") != true) !== false) {
$ERROR('#3: (new String("1") != true) === false');
}
-
diff --git a/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.3.js b/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.3.js
index 7bd33386e..efb7d4d84 100644
--- a/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.3.js
+++ b/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.3.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(x) is Boolean and Type(y) is Object,
- * return x != ToPrimitive(y)
- *
- * @path ch11/11.9/11.9.2/S11.9.2_A7.3.js
- * @description y is object, x is primitive boolean
- */
+/*---
+info: >
+ If Type(x) is Boolean and Type(y) is Object,
+ return x != ToPrimitive(y)
+description: y is object, x is primitive boolean
+---*/
//CHECK#1
if ((true != new Boolean(true)) !== false) {
@@ -23,4 +22,3 @@ if ((true != new Number(1)) !== false) {
if ((true != new String("+1")) !== false) {
$ERROR('#3: (true != new String("+1")) === false');
}
-
diff --git a/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.4.js b/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.4.js
index c13672d52..76f8209af 100644
--- a/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.4.js
+++ b/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.4.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(x) is Object and Type(y) is Number,
- * return ToPrimitive(x) != y
- *
- * @path ch11/11.9/11.9.2/S11.9.2_A7.4.js
- * @description x is object, y is primitive number
- */
+/*---
+info: >
+ If Type(x) is Object and Type(y) is Number,
+ return ToPrimitive(x) != y
+description: x is object, y is primitive number
+---*/
//CHECK#1
if ((new Boolean(true) != 1) !== false) {
@@ -23,4 +22,3 @@ if ((new Number(-1) != -1) !== false) {
if ((new String("-1") != -1) !== false) {
$ERROR('#3: (new String("-1") != -1) === false');
}
-
diff --git a/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.5.js b/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.5.js
index c6cfc4976..e4a870a9b 100644
--- a/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.5.js
+++ b/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.5.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(x) is Number and Type(y) is Object,
- * return x != ToPrimitive(y)
- *
- * @path ch11/11.9/11.9.2/S11.9.2_A7.5.js
- * @description y is object, x is primitive number
- */
+/*---
+info: >
+ If Type(x) is Number and Type(y) is Object,
+ return x != ToPrimitive(y)
+description: y is object, x is primitive number
+---*/
//CHECK#1
if ((1 != new Boolean(true)) !== false) {
@@ -23,4 +22,3 @@ if ((-1 != new Number(-1)) !== false) {
if ((-1 != new String("-1")) !== false) {
$ERROR('#3: (-1 != new String("-1")) === false');
}
-
diff --git a/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.6.js b/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.6.js
index 286b9d4d0..9de2cf237 100644
--- a/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.6.js
+++ b/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.6.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(x) is Object and Type(y) is String,
- * return ToPrimitive(x) != y
- *
- * @path ch11/11.9/11.9.2/S11.9.2_A7.6.js
- * @description x is object, y is primitive string
- */
+/*---
+info: >
+ If Type(x) is Object and Type(y) is String,
+ return ToPrimitive(x) != y
+description: x is object, y is primitive string
+---*/
//CHECK#1
if ((new Boolean(true) != "1") !== false) {
@@ -23,4 +22,3 @@ if ((new Number(-1) != "-1") !== false) {
if ((new String("x") != "x") !== false) {
$ERROR('#3: (new String("x") != "x") === false');
}
-
diff --git a/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.7.js b/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.7.js
index cdc8161e0..3c53f6372 100644
--- a/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.7.js
+++ b/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.7.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(x) is String and Type(y) is Object,
- * return x != ToPrimitive(y)
- *
- * @path ch11/11.9/11.9.2/S11.9.2_A7.7.js
- * @description y is object, x is primitive string
- */
+/*---
+info: >
+ If Type(x) is String and Type(y) is Object,
+ return x != ToPrimitive(y)
+description: y is object, x is primitive string
+---*/
//CHECK#1
if (("1" != new Boolean(true)) !== false) {
@@ -23,4 +22,3 @@ if (("-1" != new Number(-1)) !== false) {
if (("x" != new String("x")) !== false) {
$ERROR('#3: ("x" != new String("x")) === false');
}
-
diff --git a/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.8.js b/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.8.js
index cf9766d79..739f4ea13 100644
--- a/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.8.js
+++ b/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.8.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(x) is Object and Type(y) is primitive type,
- * return ToPrimitive(x) != y
- *
- * @path ch11/11.9/11.9.2/S11.9.2_A7.8.js
- * @description x is object, y is primtitive
- */
+/*---
+info: >
+ If Type(x) is Object and Type(y) is primitive type,
+ return ToPrimitive(x) != y
+description: x is object, y is primtitive
+---*/
//CHECK#1
if ((true != {valueOf: function() {return 1}}) !== false) {
@@ -73,4 +72,3 @@ catch (e) {
$ERROR('#8: (1 != {valueOf: function() {return {}}, toString: function() {return {}}}) throw TypeError');
}
}
-
diff --git a/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.9.js b/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.9.js
index c1ccc5f32..6196427be 100644
--- a/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.9.js
+++ b/test/suite/ch11/11.9/11.9.2/S11.9.2_A7.9.js
@@ -1,13 +1,12 @@
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
-/**
- * If Type(x) is primitive type and Type(y) is Object,
- * return x != ToPrimitive(y)
- *
- * @path ch11/11.9/11.9.2/S11.9.2_A7.9.js
- * @description y is object, x is primtitive
- */
+/*---
+info: >
+ If Type(x) is primitive type and Type(y) is Object,
+ return x != ToPrimitive(y)
+description: y is object, x is primtitive
+---*/
//CHECK#1
if (({valueOf: function() {return 1}} != true) !== false) {
@@ -73,4 +72,3 @@ catch (e) {
$ERROR('#8.2: ({valueOf: function() {return {}}, toString: function() {return {}}} != 1) throw TypeError. Actual: ' + (e));
}
}
-