diff options
Diffstat (limited to 'test/built-ins/String/S15.5.2.1_A1_T2.js')
-rw-r--r-- | test/built-ins/String/S15.5.2.1_A1_T2.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/built-ins/String/S15.5.2.1_A1_T2.js b/test/built-ins/String/S15.5.2.1_A1_T2.js index bb1bee390..e9e3cd3ef 100644 --- a/test/built-ins/String/S15.5.2.1_A1_T2.js +++ b/test/built-ins/String/S15.5.2.1_A1_T2.js @@ -14,7 +14,7 @@ var __str = new String(); ////////////////////////////////////////////////////////////////////////////// //CHECK#1 if (typeof __str !== "object") { - $ERROR('#1: __str = new String(); typeof __str === "object". Actual: typeof __str ===' + typeof __str); + $ERROR('#1: __str = new String(); typeof __str === "object". Actual: typeof __str ==='+typeof __str ); } // ////////////////////////////////////////////////////////////////////////////// @@ -22,23 +22,23 @@ if (typeof __str !== "object") { ////////////////////////////////////////////////////////////////////////////// //CHECK#1.5 if (__str.constructor !== String) { - $ERROR('#1.5: __str = new String(); __str.constructor === String. Actual: __str.constructor ===' + __str.constructor); + $ERROR('#1.5: __str = new String(); __str.constructor === String. Actual: __str.constructor ==='+__str.constructor ); } // ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// //CHECK#2 -if (__str != "") { - $ERROR('#2: __str = new String(); __str =="". Actual: __str ==' + __str); +if (__str !="") { + $ERROR('#2: __str = new String(); __str =="". Actual: __str =='+__str ); } // ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// //CHECK#3 -if (__str === "") { - $ERROR('#3: __str = new String(); __str !== ""'); +if ( __str === "") { + $ERROR('#3: __str = new String(); __str !== ""'); } // ////////////////////////////////////////////////////////////////////////////// |