summaryrefslogtreecommitdiff
path: root/test/built-ins/String/S15.5.1.1_A1_T11.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/String/S15.5.1.1_A1_T11.js')
-rw-r--r--test/built-ins/String/S15.5.1.1_A1_T11.js28
1 files changed, 14 insertions, 14 deletions
diff --git a/test/built-ins/String/S15.5.1.1_A1_T11.js b/test/built-ins/String/S15.5.1.1_A1_T11.js
index 9543e370e..6ce2f8542 100644
--- a/test/built-ins/String/S15.5.1.1_A1_T11.js
+++ b/test/built-ins/String/S15.5.1.1_A1_T11.js
@@ -9,12 +9,12 @@ es5id: 15.5.1.1_A1_T11
description: Call String(1/0) and String(-1/0), and call with +/-Infinity
---*/
-var __str = String(1/0);
+var __str = String(1 / 0);
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
if (typeof __str !== "string") {
- $ERROR('#1: __str = String(1/0); typeof __str === "string". Actual: typeof __str ==='+typeof __str );
+ $ERROR('#1: __str = String(1/0); typeof __str === "string". Actual: typeof __str ===' + typeof __str);
}
//
//////////////////////////////////////////////////////////////////////////////
@@ -22,17 +22,17 @@ if (typeof __str !== "string") {
//////////////////////////////////////////////////////////////////////////////
//CHECK#2
if (__str !== "Infinity") {
- $ERROR('#2: __str = String(1/0); __str === "Infinity". Actual: __str ==='+__str );
+ $ERROR('#2: __str = String(1/0); __str === "Infinity". Actual: __str ===' + __str);
}
//
//////////////////////////////////////////////////////////////////////////////
-__str = String(-1/0);
+__str = String(-1 / 0);
//////////////////////////////////////////////////////////////////////////////
//CHECK#3
if (typeof __str !== "string") {
- $ERROR('#3: __str = String(-1/0); typeof __str === "string". Actual: typeof __str ==='+typeof __str );
+ $ERROR('#3: __str = String(-1/0); typeof __str === "string". Actual: typeof __str ===' + typeof __str);
}
//
//////////////////////////////////////////////////////////////////////////////
@@ -40,7 +40,7 @@ if (typeof __str !== "string") {
//////////////////////////////////////////////////////////////////////////////
//CHECK#4
if (__str !== "-Infinity") {
- $ERROR('#4: __str = String(-1/0); __str === "-Infinity". Actual: __str ==='+__str );
+ $ERROR('#4: __str = String(-1/0); __str === "-Infinity". Actual: __str ===' + __str);
}
//
//////////////////////////////////////////////////////////////////////////////
@@ -50,7 +50,7 @@ __str = String(Infinity);
//////////////////////////////////////////////////////////////////////////////
//CHECK#5
if (typeof __str !== "string") {
- $ERROR('#5: __str = String(Infinity); typeof __str === "string". Actual: typeof __str ==='+typeof __str );
+ $ERROR('#5: __str = String(Infinity); typeof __str === "string". Actual: typeof __str ===' + typeof __str);
}
//
//////////////////////////////////////////////////////////////////////////////
@@ -58,7 +58,7 @@ if (typeof __str !== "string") {
//////////////////////////////////////////////////////////////////////////////
//CHECK#6
if (__str !== "Infinity") {
- $ERROR('#6: __str = String(Infinity); __str === "Infinity". Actual: __str ==='+__str );
+ $ERROR('#6: __str = String(Infinity); __str === "Infinity". Actual: __str ===' + __str);
}
//
//////////////////////////////////////////////////////////////////////////////
@@ -68,7 +68,7 @@ __str = String(-Infinity);
//////////////////////////////////////////////////////////////////////////////
//CHECK#7
if (typeof __str !== "string") {
- $ERROR('#7: __str = String(-Infinity); typeof __str === "string". Actual: typeof __str ==='+typeof __str );
+ $ERROR('#7: __str = String(-Infinity); typeof __str === "string". Actual: typeof __str ===' + typeof __str);
}
//
//////////////////////////////////////////////////////////////////////////////
@@ -76,7 +76,7 @@ if (typeof __str !== "string") {
//////////////////////////////////////////////////////////////////////////////
//CHECK#8
if (__str !== "-Infinity") {
- $ERROR('#8: __str = String(-Infinity); __str === "-Infinity". Actual: __str ==='+__str );
+ $ERROR('#8: __str = String(-Infinity); __str === "-Infinity". Actual: __str ===' + __str);
}
//
//////////////////////////////////////////////////////////////////////////////
@@ -86,7 +86,7 @@ __str = String(Number.POSITIVE_INFINITY);
//////////////////////////////////////////////////////////////////////////////
//CHECK#9
if (typeof __str !== "string") {
- $ERROR('#9: __str = String(Number.POSITIVE_INFINITY); typeof __str === "string". Actual: typeof __str ==='+typeof __str );
+ $ERROR('#9: __str = String(Number.POSITIVE_INFINITY); typeof __str === "string". Actual: typeof __str ===' + typeof __str);
}
//
//////////////////////////////////////////////////////////////////////////////
@@ -94,7 +94,7 @@ if (typeof __str !== "string") {
//////////////////////////////////////////////////////////////////////////////
//CHECK#10
if (__str !== "Infinity") {
- $ERROR('#10: __str = String(Number.POSITIVE_INFINITY); __str === "Infinity". Actual: __str ==='+__str );
+ $ERROR('#10: __str = String(Number.POSITIVE_INFINITY); __str === "Infinity". Actual: __str ===' + __str);
}
//
//////////////////////////////////////////////////////////////////////////////
@@ -104,7 +104,7 @@ __str = String(Number.NEGATIVE_INFINITY);
//////////////////////////////////////////////////////////////////////////////
//CHECK#11
if (typeof __str !== "string") {
- $ERROR('#11: __str = String(Number.NEGATIVE_INFINITY); typeof __str === "string". Actual: typeof __str ==='+typeof __str );
+ $ERROR('#11: __str = String(Number.NEGATIVE_INFINITY); typeof __str === "string". Actual: typeof __str ===' + typeof __str);
}
//
//////////////////////////////////////////////////////////////////////////////
@@ -112,7 +112,7 @@ if (typeof __str !== "string") {
//////////////////////////////////////////////////////////////////////////////
//CHECK#12
if (__str !== "-Infinity") {
- $ERROR('#12: __str = String(Number.NEGATIVE_INFINITY); __str === "-Infinity". Actual: __str ==='+__str );
+ $ERROR('#12: __str = String(Number.NEGATIVE_INFINITY); __str === "-Infinity". Actual: __str ===' + __str);
}
//
//////////////////////////////////////////////////////////////////////////////