diff options
author | Rick Waldron <waldron.rick@gmail.com> | 2018-02-15 15:39:13 -0500 |
---|---|---|
committer | Leo Balter <leonardo.balter@gmail.com> | 2018-02-15 15:39:13 -0500 |
commit | 19ca734beaea75fc61e296f78450354ff0dff7e9 (patch) | |
tree | 151310b950d46e9843df6f98d21fcc89f8ceca9b /test/built-ins/String/prototype/split/S15.5.4.14_A2_T29.js | |
parent | af37c92af7691eaf4769eb1f5f44f92a4a883426 (diff) |
built-ins/String/*: make all indentation consistent (depth & character) (#1430)
Diffstat (limited to 'test/built-ins/String/prototype/split/S15.5.4.14_A2_T29.js')
-rw-r--r-- | test/built-ins/String/prototype/split/S15.5.4.14_A2_T29.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/built-ins/String/prototype/split/S15.5.4.14_A2_T29.js b/test/built-ins/String/prototype/split/S15.5.4.14_A2_T29.js index b93e14102..fa342d632 100644 --- a/test/built-ins/String/prototype/split/S15.5.4.14_A2_T29.js +++ b/test/built-ins/String/prototype/split/S15.5.4.14_A2_T29.js @@ -17,12 +17,12 @@ Number.prototype.split = String.prototype.split; var __split = __instance.split(1); -var __expected = ["","00","","","","22","33","44","60"]; +var __expected = ["", "00", "", "", "", "22", "33", "44", "60"]; ////////////////////////////////////////////////////////////////////////////// //CHECK#1 if (__split.constructor !== Array) { - $ERROR('#1: __split.constructor === Array. Actual: '+__split.constructor ); + $ERROR('#1: __split.constructor === Array. Actual: ' + __split.constructor); } // ////////////////////////////////////////////////////////////////////////////// @@ -30,17 +30,17 @@ if (__split.constructor !== Array) { ////////////////////////////////////////////////////////////////////////////// //CHECK#2 if (__split.length !== __expected.length) { - $ERROR('#2: __split.length === __expected.length. Actual: '+__split.length ); + $ERROR('#2: __split.length === __expected.length. Actual: ' + __split.length); } // ////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////// //CHECK#3 -for(var index=0; index<__expected.length; index++) { +for (var index = 0; index < __expected.length; index++) { if (__split[index] !== __expected[index]) { - $ERROR('#3.'+index+': __split['+index+'] === '+__expected[index]+'. Actual: '+__split[index] ); - } + $ERROR('#3.' + index + ': __split[' + index + '] === ' + __expected[index] + '. Actual: ' + __split[index]); + } } // ////////////////////////////////////////////////////////////////////////////// |