diff options
author | Rick Waldron <waldron.rick@gmail.com> | 2018-02-09 11:35:37 -0500 |
---|---|---|
committer | Leo Balter <leonardo.balter@gmail.com> | 2018-02-09 11:35:37 -0500 |
commit | a01de4a722d088055a7d84d8c691ddd7109edb34 (patch) | |
tree | f583c8efd40a3b699261f1166da75a9861d83e7b /test/built-ins/Array/prototype/splice/length-and-deleteCount-exceeding-integer-limit.js | |
parent | 7b01f9799f99851955f23c18c12e6651c1941022 (diff) | |
download | qtdeclarative-testsuites-a01de4a722d088055a7d84d8c691ddd7109edb34.tar.gz |
js-beautify: make all indentation consistent (depth & character) (#1409)
Diffstat (limited to 'test/built-ins/Array/prototype/splice/length-and-deleteCount-exceeding-integer-limit.js')
-rw-r--r-- | test/built-ins/Array/prototype/splice/length-and-deleteCount-exceeding-integer-limit.js | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/built-ins/Array/prototype/splice/length-and-deleteCount-exceeding-integer-limit.js b/test/built-ins/Array/prototype/splice/length-and-deleteCount-exceeding-integer-limit.js index f48e48d9e..7734bb325 100644 --- a/test/built-ins/Array/prototype/splice/length-and-deleteCount-exceeding-integer-limit.js +++ b/test/built-ins/Array/prototype/splice/length-and-deleteCount-exceeding-integer-limit.js @@ -30,25 +30,25 @@ var arrayLike = { "9007199254740989": "9007199254740989", "9007199254740990": "9007199254740990", "9007199254740991": "9007199254740991", - length: 2**53 + 2, + length: 2 ** 53 + 2, }; -var result = Array.prototype.splice.call(arrayLike, 9007199254740989, 2**53 + 4); +var result = Array.prototype.splice.call(arrayLike, 9007199254740989, 2 ** 53 + 4); -assert.compareArray(result, [ "9007199254740989", "9007199254740990" ], - "arrayLike['9007199254740989'] and arrayLike['9007199254740990'] are removed"); +assert.compareArray(result, ["9007199254740989", "9007199254740990"], + "arrayLike['9007199254740989'] and arrayLike['9007199254740990'] are removed"); -assert.sameValue(arrayLike.length, 2**53 - 3, - "New length is 2**53 - 3"); +assert.sameValue(arrayLike.length, 2 ** 53 - 3, + "New length is 2**53 - 3"); assert.sameValue(arrayLike["9007199254740988"], "9007199254740988", - "arrayLike['9007199254740988'] is unchanged"); + "arrayLike['9007199254740988'] is unchanged"); assert.sameValue("9007199254740989" in arrayLike, false, - "arrayLike['9007199254740989'] is removed"); + "arrayLike['9007199254740989'] is removed"); assert.sameValue("9007199254740990" in arrayLike, false, - "arrayLike['9007199254740990'] is removed"); + "arrayLike['9007199254740990'] is removed"); assert.sameValue(arrayLike["9007199254740991"], "9007199254740991", - "arrayLike['9007199254740991'] is unchanged"); + "arrayLike['9007199254740991'] is unchanged"); |