diff options
Diffstat (limited to 'test/built-ins/String/S15.5.2.1_A1_T6.js')
-rw-r--r-- | test/built-ins/String/S15.5.2.1_A1_T6.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/built-ins/String/S15.5.2.1_A1_T6.js b/test/built-ins/String/S15.5.2.1_A1_T6.js index 50db9d851..c3b481fd6 100644 --- a/test/built-ins/String/S15.5.2.1_A1_T6.js +++ b/test/built-ins/String/S15.5.2.1_A1_T6.js @@ -14,7 +14,7 @@ var __str = new String(false); ////////////////////////////////////////////////////////////////////////////// //CHECK#1 if (typeof __str !== "object") { - $ERROR('#1: __str = new String(false); typeof __str === "object". Actual: typeof __str ==='+typeof __str ); + $ERROR('#1: __str = new String(false); 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(false); __str.constructor === String. Actual: __str.constructor ==='+__str.constructor ); + $ERROR('#1.5: __str = new String(false); __str.constructor === String. Actual: __str.constructor ===' + __str.constructor); } // ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// //CHECK#2 -if (__str !=false+"") { - $ERROR('#2: __str = new String(false); __str ==false+"". Actual: __str =='+__str ); +if (__str != false + "") { + $ERROR('#2: __str = new String(false); __str ==false+"". Actual: __str ==' + __str); } // ////////////////////////////////////////////////////////////////////////////// |