diff options
Diffstat (limited to 'test/built-ins/String/prototype/split/S15.5.4.14_A2_T21.js')
-rw-r--r-- | test/built-ins/String/prototype/split/S15.5.4.14_A2_T21.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/built-ins/String/prototype/split/S15.5.4.14_A2_T21.js b/test/built-ins/String/prototype/split/S15.5.4.14_A2_T21.js index ea7759b72..dfe48ffd3 100644 --- a/test/built-ins/String/prototype/split/S15.5.4.14_A2_T21.js +++ b/test/built-ins/String/prototype/split/S15.5.4.14_A2_T21.js @@ -18,7 +18,7 @@ var __split = __string.split("ll"); ////////////////////////////////////////////////////////////////////////////// //CHECK#1 if (__split.constructor !== Array) { - $ERROR('#1: var __string = new String("hello"); __split = __string.split("ll"); __split.constructor === Array. Actual: '+__split.constructor ); + $ERROR('#1: var __string = new String("hello"); __split = __string.split("ll"); __split.constructor === Array. Actual: ' + __split.constructor); } // ////////////////////////////////////////////////////////////////////////////// @@ -26,7 +26,7 @@ if (__split.constructor !== Array) { ////////////////////////////////////////////////////////////////////////////// //CHECK#2 if (__split.length !== 2) { - $ERROR('#2: var __string = new String("hello"); __split = __string.split("ll"); __split.length === 2. Actual: '+__split.length ); + $ERROR('#2: var __string = new String("hello"); __split = __string.split("ll"); __split.length === 2. Actual: ' + __split.length); } // ////////////////////////////////////////////////////////////////////////////// @@ -34,7 +34,7 @@ if (__split.length !== 2) { ////////////////////////////////////////////////////////////////////////////// //CHECK#3 if (__split[0] !== "he") { - $ERROR('#3: var __string = new String("hello"); __split = __string.split("ll"); __split[0] === "he". Actual: '+__split[0]); + $ERROR('#3: var __string = new String("hello"); __split = __string.split("ll"); __split[0] === "he". Actual: ' + __split[0]); } // ////////////////////////////////////////////////////////////////////////////// @@ -42,7 +42,7 @@ if (__split[0] !== "he") { ////////////////////////////////////////////////////////////////////////////// //CHECK#4 if (__split[1] !== "o") { - $ERROR('#4: var __string = new String("hello"); __split = __string.split("ll"); __split[1] === "o". Actual: '+__split[1] ); + $ERROR('#4: var __string = new String("hello"); __split = __string.split("ll"); __split[1] === "o". Actual: ' + __split[1]); } // ////////////////////////////////////////////////////////////////////////////// |