summaryrefslogtreecommitdiff
path: root/test/built-ins/String/S15.5.1.1_A1_T1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/String/S15.5.1.1_A1_T1.js')
-rw-r--r--test/built-ins/String/S15.5.1.1_A1_T1.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/built-ins/String/S15.5.1.1_A1_T1.js b/test/built-ins/String/S15.5.1.1_A1_T1.js
index 65ae34d4c..85c920644 100644
--- a/test/built-ins/String/S15.5.1.1_A1_T1.js
+++ b/test/built-ins/String/S15.5.1.1_A1_T1.js
@@ -9,12 +9,12 @@ es5id: 15.5.1.1_A1_T1
description: Call String(function(){}())
---*/
-var __str = String(function(){}());
+var __str = String(function() {}());
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
if (typeof __str !== "string") {
- $ERROR('#1: __str = String(function(){}()); typeof __str === "string". Actual: typeof __str ==='+typeof __str );
+ $ERROR('#1: __str = String(function(){}()); typeof __str === "string". Actual: typeof __str ===' + typeof __str);
}
//
//////////////////////////////////////////////////////////////////////////////
@@ -22,7 +22,7 @@ if (typeof __str !== "string") {
//////////////////////////////////////////////////////////////////////////////
//CHECK#2
if (__str !== "undefined") {
- $ERROR('#2: __str = String(function(){}()); __str === "undefined". Actual: __str ==='+__str );
+ $ERROR('#2: __str = String(function(){}()); __str === "undefined". Actual: __str ===' + __str);
}
//
//////////////////////////////////////////////////////////////////////////////