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