diff options
author | André Bargull <andre.bargull@gmail.com> | 2018-02-09 09:09:47 -0800 |
---|---|---|
committer | Leo Balter <leonardo.balter@gmail.com> | 2018-02-09 12:09:47 -0500 |
commit | f95b56ab28c5f18150f30fbfa889a4f6ba0e50a1 (patch) | |
tree | d403f704c1b6a1842f12df380651919beaaf5fef /test/built-ins/Array/prototype/filter/15.4.4.20-9-b-16.js | |
parent | a01de4a722d088055a7d84d8c691ddd7109edb34 (diff) | |
download | qtdeclarative-testsuites-f95b56ab28c5f18150f30fbfa889a4f6ba0e50a1.tar.gz |
Revert "js-beautify: make all indentation consistent (depth & character) (#1409)" (#1412)
This reverts commit a01de4a722d088055a7d84d8c691ddd7109edb34.
Diffstat (limited to 'test/built-ins/Array/prototype/filter/15.4.4.20-9-b-16.js')
-rw-r--r-- | test/built-ins/Array/prototype/filter/15.4.4.20-9-b-16.js | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/test/built-ins/Array/prototype/filter/15.4.4.20-9-b-16.js b/test/built-ins/Array/prototype/filter/15.4.4.20-9-b-16.js index b92fde3af..c81608958 100644 --- a/test/built-ins/Array/prototype/filter/15.4.4.20-9-b-16.js +++ b/test/built-ins/Array/prototype/filter/15.4.4.20-9-b-16.js @@ -10,28 +10,28 @@ description: > flags: [noStrict] ---*/ -function callbackfn(val, idx, obj) { - return true; -} + function callbackfn(val, idx, obj) { + return true; + } -var arr = [0, 1, 2]; + var arr = [0, 1, 2]; -Object.defineProperty(arr, "2", { - get: function() { - return "unconfigurable"; - }, - configurable: false -}); + Object.defineProperty(arr, "2", { + get: function () { + return "unconfigurable"; + }, + configurable: false + }); -Object.defineProperty(arr, "1", { - get: function() { - arr.length = 2; - return 1; - }, - configurable: true -}); + Object.defineProperty(arr, "1", { + get: function () { + arr.length = 2; + return 1; + }, + configurable: true + }); -var newArr = arr.filter(callbackfn); + var newArr = arr.filter(callbackfn); assert.sameValue(newArr.length, 3, 'newArr.length'); assert.sameValue(newArr[2], "unconfigurable", 'newArr[2]'); |