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_A4_T16.js | |
parent | af37c92af7691eaf4769eb1f5f44f92a4a883426 (diff) | |
download | qtdeclarative-testsuites-19ca734beaea75fc61e296f78450354ff0dff7e9.tar.gz |
built-ins/String/*: make all indentation consistent (depth & character) (#1430)
Diffstat (limited to 'test/built-ins/String/prototype/split/S15.5.4.14_A4_T16.js')
-rw-r--r-- | test/built-ins/String/prototype/split/S15.5.4.14_A4_T16.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/built-ins/String/prototype/split/S15.5.4.14_A4_T16.js b/test/built-ins/String/prototype/split/S15.5.4.14_A4_T16.js index 5b669ab81..b97b9aa5d 100644 --- a/test/built-ins/String/prototype/split/S15.5.4.14_A4_T16.js +++ b/test/built-ins/String/prototype/split/S15.5.4.14_A4_T16.js @@ -23,7 +23,7 @@ var __expected = ["h", "e", "l", "l", "o"]; ////////////////////////////////////////////////////////////////////////////// //CHECK#1 if (__split.constructor !== Array) { - $ERROR('#1: __split.constructor === Array. Actual: '+__split.constructor ); + $ERROR('#1: __split.constructor === Array. Actual: ' + __split.constructor); } // ////////////////////////////////////////////////////////////////////////////// @@ -31,16 +31,16 @@ 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]); } } // |