summaryrefslogtreecommitdiff
path: root/test/built-ins/String/S15.5.2.1_A1_T4.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/String/S15.5.2.1_A1_T4.js')
-rw-r--r--test/built-ins/String/S15.5.2.1_A1_T4.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/built-ins/String/S15.5.2.1_A1_T4.js b/test/built-ins/String/S15.5.2.1_A1_T4.js
index cc4687d03..3d268119b 100644
--- a/test/built-ins/String/S15.5.2.1_A1_T4.js
+++ b/test/built-ins/String/S15.5.2.1_A1_T4.js
@@ -14,7 +14,7 @@ var __str = new String(1.0);
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
if (typeof __str !== "object") {
- $ERROR('#1: __str = new String(1.0); typeof __str === "object". Actual: typeof __str ==='+typeof __str );
+ $ERROR('#1: __str = new String(1.0); typeof __str === "object". Actual: typeof __str ===' + typeof __str);
}
//
//////////////////////////////////////////////////////////////////////////////
@@ -22,15 +22,15 @@ if (typeof __str !== "object") {
//////////////////////////////////////////////////////////////////////////////
//CHECK#1.5
if (__str.constructor !== String) {
- $ERROR('#1.5: __str = new String(1.0); __str.constructor === String. Actual: __str.constructor ==='+__str.constructor );
+ $ERROR('#1.5: __str = new String(1.0); __str.constructor === String. Actual: __str.constructor ===' + __str.constructor);
}
//
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
//CHECK#2
-if (__str !=1.0+"") {
- $ERROR('#2: __str = new String(1.0); __str ==1.0+"". Actual: __str =='+__str );
+if (__str != 1.0 + "") {
+ $ERROR('#2: __str = new String(1.0); __str ==1.0+"". Actual: __str ==' + __str);
}
//
//////////////////////////////////////////////////////////////////////////////