aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/ch11/11.10/11.10.2
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/ch11/11.10/11.10.2')
-rw-r--r--test/suite/ch11/11.10/11.10.2/S11.10.2_A1.js13
-rw-r--r--test/suite/ch11/11.10/11.10.2/S11.10.2_A2.1_T1.js12
-rw-r--r--test/suite/ch11/11.10/11.10.2/S11.10.2_A2.1_T2.js11
-rw-r--r--test/suite/ch11/11.10/11.10.2/S11.10.2_A2.1_T3.js11
-rw-r--r--test/suite/ch11/11.10/11.10.2/S11.10.2_A2.2_T1.js11
-rw-r--r--test/suite/ch11/11.10/11.10.2/S11.10.2_A2.3_T1.js13
-rw-r--r--test/suite/ch11/11.10/11.10.2/S11.10.2_A2.4_T1.js13
-rw-r--r--test/suite/ch11/11.10/11.10.2/S11.10.2_A2.4_T2.js11
-rw-r--r--test/suite/ch11/11.10/11.10.2/S11.10.2_A2.4_T3.js15
-rw-r--r--test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T1.1.js11
-rw-r--r--test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T1.2.js12
-rw-r--r--test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T1.3.js11
-rw-r--r--test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T1.4.js11
-rw-r--r--test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T1.5.js12
-rw-r--r--test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.1.js13
-rw-r--r--test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.2.js13
-rw-r--r--test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.3.js13
-rw-r--r--test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.4.js13
-rw-r--r--test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.5.js13
-rw-r--r--test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.6.js13
-rw-r--r--test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.7.js13
-rw-r--r--test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.8.js13
-rw-r--r--test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.9.js13
23 files changed, 115 insertions, 169 deletions
diff --git a/test/suite/ch11/11.10/11.10.2/S11.10.2_A1.js b/test/suite/ch11/11.10/11.10.2/S11.10.2_A1.js
index 6798a9ea4..a00206a81 100644
--- a/test/suite/ch11/11.10/11.10.2/S11.10.2_A1.js
+++ b/test/suite/ch11/11.10/11.10.2/S11.10.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 BitwiseXORExpression and "^" or between "^" and BitwiseANDExpression are allowed
- *
- * @path ch11/11.10/11.10.2/S11.10.2_A1.js
- * @description The check uses eval
- */
+/*---
+info: >
+ White Space and Line Terminator between BitwiseXORExpression and "^" or
+ between "^" and BitwiseANDExpression are allowed
+description: The check uses eval
+---*/
//CHECK#1
if ((eval("1\u0009^\u00091")) !== 0) {
@@ -58,4 +58,3 @@ if ((eval("1\u2029^\u20291")) !== 0) {
if ((eval("1\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u2029^\u0009\u000B\u000C\u0020\u00A0\u000A\u000D\u2028\u20291")) !== 0) {
$ERROR('#10: (1\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u2029^\\u0009\\u000B\\u000C\\u0020\\u00A0\\u000A\\u000D\\u2028\\u20291) === 0');
}
-
diff --git a/test/suite/ch11/11.10/11.10.2/S11.10.2_A2.1_T1.js b/test/suite/ch11/11.10/11.10.2/S11.10.2_A2.1_T1.js
index f4aad4a19..b69ed2d8f 100644
--- a/test/suite/ch11/11.10/11.10.2/S11.10.2_A2.1_T1.js
+++ b/test/suite/ch11/11.10/11.10.2/S11.10.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.10/11.10.2/S11.10.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) !== 0) {
@@ -40,5 +38,3 @@ objecty.prop = 1;
if ((objectx.prop ^ objecty.prop) !== 0) {
$ERROR('#5: var objectx = new Object(); var objecty = new Object(); objectx.prop = 1; objecty.prop = 1; (objectx.prop ^ objecty.prop) === 0. Actual: ' + ((objectx.prop ^ objecty.prop)));
}
-
-
diff --git a/test/suite/ch11/11.10/11.10.2/S11.10.2_A2.1_T2.js b/test/suite/ch11/11.10/11.10.2/S11.10.2_A2.1_T2.js
index 503ac9678..2c03e64c4 100644
--- a/test/suite/ch11/11.10/11.10.2/S11.10.2_A2.1_T2.js
+++ b/test/suite/ch11/11.10/11.10.2/S11.10.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.10/11.10.2/S11.10.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,4 +16,3 @@ catch (e) {
$ERROR('#1.2: x ^ 1 throw ReferenceError. Actual: ' + (e));
}
}
-
diff --git a/test/suite/ch11/11.10/11.10.2/S11.10.2_A2.1_T3.js b/test/suite/ch11/11.10/11.10.2/S11.10.2_A2.1_T3.js
index 6c5969614..3dffea843 100644
--- a/test/suite/ch11/11.10/11.10.2/S11.10.2_A2.1_T3.js
+++ b/test/suite/ch11/11.10/11.10.2/S11.10.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.10/11.10.2/S11.10.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,4 +16,3 @@ catch (e) {
$ERROR('#1.2: 1 ^ y throw ReferenceError. Actual: ' + (e));
}
}
-
diff --git a/test/suite/ch11/11.10/11.10.2/S11.10.2_A2.2_T1.js b/test/suite/ch11/11.10/11.10.2/S11.10.2_A2.2_T1.js
index 0a00ada6d..1e059ac4e 100644
--- a/test/suite/ch11/11.10/11.10.2/S11.10.2_A2.2_T1.js
+++ b/test/suite/ch11/11.10/11.10.2/S11.10.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.10/11.10.2/S11.10.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 1}} ^ 1) !== 0) {
@@ -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.10/11.10.2/S11.10.2_A2.3_T1.js b/test/suite/ch11/11.10/11.10.2/S11.10.2_A2.3_T1.js
index cbf3009a1..d98fd7981 100644
--- a/test/suite/ch11/11.10/11.10.2/S11.10.2_A2.3_T1.js
+++ b/test/suite/ch11/11.10/11.10.2/S11.10.2_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.
-/**
- * ToInt32(first expression) is called first, and then ToInt32(second expression)
- *
- * @path ch11/11.10/11.10.2/S11.10.2_A2.3_T1.js
- * @description Checking with "throw"
- */
+/*---
+info: >
+ ToInt32(first expression) is called first, and then ToInt32(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.10/11.10.2/S11.10.2_A2.4_T1.js b/test/suite/ch11/11.10/11.10.2/S11.10.2_A2.4_T1.js
index e1af1b864..96ed61ec5 100644
--- a/test/suite/ch11/11.10/11.10.2/S11.10.2_A2.4_T1.js
+++ b/test/suite/ch11/11.10/11.10.2/S11.10.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.10/11.10.2/S11.10.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 = 1;
@@ -19,6 +17,3 @@ var x = 0;
if ((x ^ (x = 1)) !== 1) {
$ERROR('#2: var x = 0; (x ^ (x = 1)) === 1. Actual: ' + ((x ^ (x = 1))));
}
-
-
-
diff --git a/test/suite/ch11/11.10/11.10.2/S11.10.2_A2.4_T2.js b/test/suite/ch11/11.10/11.10.2/S11.10.2_A2.4_T2.js
index 5cc5a1540..6844ceb90 100644
--- a/test/suite/ch11/11.10/11.10.2/S11.10.2_A2.4_T2.js
+++ b/test/suite/ch11/11.10/11.10.2/S11.10.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.10/11.10.2/S11.10.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.10/11.10.2/S11.10.2_A2.4_T3.js b/test/suite/ch11/11.10/11.10.2/S11.10.2_A2.4_T3.js
index 5241ec557..b916259ee 100644
--- a/test/suite/ch11/11.10/11.10.2/S11.10.2_A2.4_T3.js
+++ b/test/suite/ch11/11.10/11.10.2/S11.10.2_A2.4_T3.js
@@ -1,13 +1,11 @@
// 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.10/11.10.2/S11.10.2_A2.4_T3.js
- * @description Checking with undeclarated variables
- * @noStrict
- */
+/*---
+info: First expression is evaluated first, and then second expression
+description: Checking with undeclarated variables
+flags: [noStrict]
+---*/
//CHECK#1
try {
@@ -24,6 +22,3 @@ catch (e) {
if (((y = 1) ^ y) !== 0) {
$ERROR('#2: ((y = 1) ^ y) === 0. Actual: ' + (((y = 1) ^ y)));
}
-
-
-
diff --git a/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T1.1.js b/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T1.1.js
index e6466e784..c0350e625 100644
--- a/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T1.1.js
+++ b/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T1.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.
-/**
- * Operator x ^ y returns ToNumber(x) ^ ToNumber(y)
- *
- * @path ch11/11.10/11.10.2/S11.10.2_A3_T1.1.js
- * @description Type(x) and Type(y) are primitive boolean and Boolean object
- */
+/*---
+info: Operator x ^ y returns ToNumber(x) ^ ToNumber(y)
+description: Type(x) and Type(y) are primitive boolean and Boolean object
+---*/
//CHECK#1
if ((true ^ true) !== 0) {
@@ -27,4 +25,3 @@ if ((true ^ new Boolean(true)) !== 0) {
if ((new Boolean(true) ^ new Boolean(true)) !== 0) {
$ERROR('#4: (new Boolean(true) ^ new Boolean(true)) === 0. Actual: ' + ((new Boolean(true) ^ new Boolean(true))));
}
-
diff --git a/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T1.2.js b/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T1.2.js
index 9b997e82f..043e61749 100644
--- a/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T1.2.js
+++ b/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T1.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.
-/**
- * Operator x ^ y returns ToNumber(x) ^ ToNumber(y)
- *
- * @path ch11/11.10/11.10.2/S11.10.2_A3_T1.2.js
- * @description Type(x) and Type(y) are primitive number and Number object
- */
+/*---
+info: Operator x ^ y returns ToNumber(x) ^ ToNumber(y)
+description: Type(x) and Type(y) are primitive number and Number object
+---*/
//CHECK#1
if ((1 ^ 1) !== 0) {
@@ -27,5 +25,3 @@ if ((1 ^ new Number(1)) !== 0) {
if ((new Number(1) ^ new Number(1)) !== 0) {
$ERROR('#4: (new Number(1) ^ new Number(1)) === 0. Actual: ' + ((new Number(1) ^ new Number(1))));
}
-
-
diff --git a/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T1.3.js b/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T1.3.js
index acd61cf11..51a8ac49d 100644
--- a/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T1.3.js
+++ b/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T1.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.
-/**
- * Operator x ^ y returns ToNumber(x) ^ ToNumber(y)
- *
- * @path ch11/11.10/11.10.2/S11.10.2_A3_T1.3.js
- * @description Type(x) and Type(y) are primitive string and String object
- */
+/*---
+info: Operator x ^ y returns ToNumber(x) ^ ToNumber(y)
+description: Type(x) and Type(y) are primitive string and String object
+---*/
//CHECK#1
if (("1" ^ "1") !== 0) {
@@ -37,4 +35,3 @@ if (("x" ^ "1") !== 1) {
if (("1" ^ "x") !== 1) {
$ERROR('#6: ("1" ^ "x") === 1. Actual: ' + (("1" ^ "x")));
}
-
diff --git a/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T1.4.js b/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T1.4.js
index 72698a656..d259ee4c5 100644
--- a/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T1.4.js
+++ b/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T1.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.
-/**
- * Operator x ^ y returns ToNumber(x) ^ ToNumber(y)
- *
- * @path ch11/11.10/11.10.2/S11.10.2_A3_T1.4.js
- * @description Type(x) and Type(y) are null and undefined
- */
+/*---
+info: Operator x ^ y returns ToNumber(x) ^ ToNumber(y)
+description: Type(x) and Type(y) are null and undefined
+---*/
//CHECK#1
if ((null ^ undefined) !== 0) {
@@ -27,4 +25,3 @@ if ((undefined ^ undefined) !== 0) {
if ((null ^ null) !== 0) {
$ERROR('#4: (null ^ null) === 0. Actual: ' + ((null ^ null)));
}
-
diff --git a/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T1.5.js b/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T1.5.js
index b415d1c75..b4fa4efe1 100644
--- a/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T1.5.js
+++ b/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T1.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.
-/**
- * Operator x ^ y returns ToNumber(x) ^ ToNumber(y)
- *
- * @path ch11/11.10/11.10.2/S11.10.2_A3_T1.5.js
- * @description Type(x) and Type(y) are Object object and Function object
- */
+/*---
+info: Operator x ^ y returns ToNumber(x) ^ ToNumber(y)
+description: Type(x) and Type(y) are Object object and Function object
+---*/
//CHECK#1
if (({} ^ function(){return 1}) !== 0) {
@@ -27,5 +25,3 @@ if ((function(){return 1} ^ function(){return 1}) !== 0) {
if (({} ^ {}) !== 0) {
$ERROR('#4: ({} ^ {}) === 0. Actual: ' + (({} ^ {})));
}
-
-
diff --git a/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.1.js b/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.1.js
index c32718b6e..e13655a4e 100644
--- a/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.1.js
+++ b/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.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.
-/**
- * Operator x ^ y returns ToNumber(x) ^ ToNumber(y)
- *
- * @path ch11/11.10/11.10.2/S11.10.2_A3_T2.1.js
- * @description Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Boolean (primitive and object)
- */
+/*---
+info: Operator x ^ y returns ToNumber(x) ^ ToNumber(y)
+description: >
+ Type(x) is different from Type(y) and both types vary between
+ Number (primitive or object) and Boolean (primitive and object)
+---*/
//CHECK#1
if ((true ^ 1) !== 0) {
@@ -47,4 +47,3 @@ if ((new Boolean(true) ^ new Number(1)) !== 0) {
if ((new Number(1) ^ new Boolean(true)) !== 0) {
$ERROR('#8: (new Number(1) ^ new Boolean(true)) === 0. Actual: ' + ((new Number(1) ^ new Boolean(true))));
}
-
diff --git a/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.2.js b/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.2.js
index 1503fbaf5..df55b7193 100644
--- a/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.2.js
+++ b/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.2.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.
-/**
- * Operator x ^ y returns ToNumber(x) ^ ToNumber(y)
- *
- * @path ch11/11.10/11.10.2/S11.10.2_A3_T2.2.js
- * @description Type(x) is different from Type(y) and both types vary between Number (primitive or object) and String (primitive and object)
- */
+/*---
+info: Operator x ^ y returns ToNumber(x) ^ ToNumber(y)
+description: >
+ Type(x) is different from Type(y) and both types vary between
+ Number (primitive or object) and String (primitive and object)
+---*/
//CHECK#1
if (("1" ^ 1) !== 0) {
@@ -57,4 +57,3 @@ if (("x" ^ 1) !== 1) {
if ((1 ^ "x") !== 1) {
$ERROR('#10: (1 ^ "x") === 1. Actual: ' + ((1 ^ "x")));
}
-
diff --git a/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.3.js b/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.3.js
index 7944312eb..cebb94e6d 100644
--- a/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.3.js
+++ b/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.3.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.
-/**
- * Operator x ^ y returns ToNumber(x) ^ ToNumber(y)
- *
- * @path ch11/11.10/11.10.2/S11.10.2_A3_T2.3.js
- * @description Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Null
- */
+/*---
+info: Operator x ^ y returns ToNumber(x) ^ ToNumber(y)
+description: >
+ Type(x) is different from Type(y) and both types vary between
+ Number (primitive or object) and Null
+---*/
//CHECK#1
if ((1 ^ null) !== 1) {
@@ -27,4 +27,3 @@ if ((new Number(1) ^ null) !== 1) {
if ((null ^ new Number(1)) !== 1) {
$ERROR('#4: (null ^ new Number(1)) === 1. Actual: ' + ((null ^ new Number(1))));
}
-
diff --git a/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.4.js b/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.4.js
index 6578ce84d..948a4265a 100644
--- a/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.4.js
+++ b/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.4.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.
-/**
- * Operator x ^ y returns ToNumber(x) ^ ToNumber(y)
- *
- * @path ch11/11.10/11.10.2/S11.10.2_A3_T2.4.js
- * @description Type(x) is different from Type(y) and both types vary between Number (primitive or object) and Undefined
- */
+/*---
+info: Operator x ^ y returns ToNumber(x) ^ ToNumber(y)
+description: >
+ Type(x) is different from Type(y) and both types vary between
+ Number (primitive or object) and Undefined
+---*/
//CHECK#1
if ((1 ^ undefined) !== 1) {
@@ -27,4 +27,3 @@ if ((new Number(1) ^ undefined) !== 1) {
if ((undefined ^ new Number(1)) !== 1) {
$ERROR('#4: (undefined ^ new Number(1)) === 1. Actual: ' + ((undefined ^ new Number(1))));
}
-
diff --git a/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.5.js b/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.5.js
index 2e80dfef2..7b37a130b 100644
--- a/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.5.js
+++ b/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.5.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.
-/**
- * Operator x ^ y returns ToNumber(x) ^ ToNumber(y)
- *
- * @path ch11/11.10/11.10.2/S11.10.2_A3_T2.5.js
- * @description Type(x) is different from Type(y) and both types vary between String (primitive or object) and Boolean (primitive and object)
- */
+/*---
+info: Operator x ^ y returns ToNumber(x) ^ ToNumber(y)
+description: >
+ Type(x) is different from Type(y) and both types vary between
+ String (primitive or object) and Boolean (primitive and object)
+---*/
//CHECK#1
if ((true ^ "1") !== 0) {
@@ -47,4 +47,3 @@ if ((new Boolean(true) ^ new String("1")) !== 0) {
if ((new String("1") ^ new Boolean(true)) !== 0) {
$ERROR('#8: (new String("1") ^ new Boolean(true)) === 0. Actual: ' + ((new String("1") ^ new Boolean(true))));
}
-
diff --git a/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.6.js b/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.6.js
index b433b597e..7c1b463c5 100644
--- a/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.6.js
+++ b/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.6.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.
-/**
- * Operator x ^ y returns ToNumber(x) ^ ToNumber(y)
- *
- * @path ch11/11.10/11.10.2/S11.10.2_A3_T2.6.js
- * @description Type(x) is different from Type(y) and both types vary between String (primitive or object) and Undefined
- */
+/*---
+info: Operator x ^ y returns ToNumber(x) ^ ToNumber(y)
+description: >
+ Type(x) is different from Type(y) and both types vary between
+ String (primitive or object) and Undefined
+---*/
//CHECK#1
if (("1" ^ undefined) !== 1) {
@@ -27,4 +27,3 @@ if ((new String("1") ^ undefined) !== 1) {
if ((undefined ^ new String("1")) !== 1) {
$ERROR('#4: (undefined ^ new String("1")) === 1. Actual: ' + ((undefined ^ new String("1"))));
}
-
diff --git a/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.7.js b/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.7.js
index 17996c7b8..1027484ee 100644
--- a/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.7.js
+++ b/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.7.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.
-/**
- * Operator x ^ y returns ToNumber(x) ^ ToNumber(y)
- *
- * @path ch11/11.10/11.10.2/S11.10.2_A3_T2.7.js
- * @description Type(x) is different from Type(y) and both types vary between String (primitive or object) and Null
- */
+/*---
+info: Operator x ^ y returns ToNumber(x) ^ ToNumber(y)
+description: >
+ Type(x) is different from Type(y) and both types vary between
+ String (primitive or object) and Null
+---*/
//CHECK#1
if (("1" ^ null) !== 1) {
@@ -27,4 +27,3 @@ if ((new String("1") ^ null) !== 1) {
if ((null ^ new String("1")) !== 1) {
$ERROR('#4: (null ^ new String("1")) === 1. Actual: ' + ((null ^ new String("1"))));
}
-
diff --git a/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.8.js b/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.8.js
index 36c1c1d23..0d6c5e1ce 100644
--- a/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.8.js
+++ b/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.8.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.
-/**
- * Operator x ^ y returns ToNumber(x) ^ ToNumber(y)
- *
- * @path ch11/11.10/11.10.2/S11.10.2_A3_T2.8.js
- * @description Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Undefined
- */
+/*---
+info: Operator x ^ y returns ToNumber(x) ^ ToNumber(y)
+description: >
+ Type(x) is different from Type(y) and both types vary between
+ Boolean (primitive or object) and Undefined
+---*/
//CHECK#1
if ((true ^ undefined) !== 1) {
@@ -27,4 +27,3 @@ if ((new Boolean(true) ^ undefined) !== 1) {
if ((undefined ^ new Boolean(true)) !== 1) {
$ERROR('#4: (undefined ^ new Boolean(true)) === 1. Actual: ' + ((undefined ^ new Boolean(true))));
}
-
diff --git a/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.9.js b/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.9.js
index 6a9d6cb0d..9d7e4350c 100644
--- a/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.9.js
+++ b/test/suite/ch11/11.10/11.10.2/S11.10.2_A3_T2.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.
-/**
- * Operator x ^ y returns ToNumber(x) ^ ToNumber(y)
- *
- * @path ch11/11.10/11.10.2/S11.10.2_A3_T2.9.js
- * @description Type(x) is different from Type(y) and both types vary between Boolean (primitive or object) and Null
- */
+/*---
+info: Operator x ^ y returns ToNumber(x) ^ ToNumber(y)
+description: >
+ Type(x) is different from Type(y) and both types vary between
+ Boolean (primitive or object) and Null
+---*/
//CHECK#1
if ((true ^ null) !== 1) {
@@ -27,4 +27,3 @@ if ((new Boolean(true) ^ null) !== 1) {
if ((null ^ new Boolean(true)) !== 1) {
$ERROR('#4: (null ^ new Boolean(true)) === 1. Actual: ' + ((null ^ new Boolean(true))));
}
-