diff options
author | Sebastiaan Deckers <sebdeckers83@gmail.com> | 2017-07-10 20:55:21 -0400 |
---|---|---|
committer | Refael Ackermann <refack@gmail.com> | 2017-07-21 15:13:47 -0400 |
commit | bb294059040def8e8c0b1719cc17f6537ab5cb39 (patch) | |
tree | acc6b7bcf88da8e6078fa5ab91f6718289f32bbf /test/parallel/test-querystring-maxKeys-non-finite.js | |
parent | 4f875222445b07016a8294fa5a5bf7418c735489 (diff) | |
download | android-node-v8-bb294059040def8e8c0b1719cc17f6537ab5cb39.tar.gz android-node-v8-bb294059040def8e8c0b1719cc17f6537ab5cb39.tar.bz2 android-node-v8-bb294059040def8e8c0b1719cc17f6537ab5cb39.zip |
lib,src: fix consistent spacing inside braces
PR-URL: https://github.com/nodejs/node/pull/14162
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/parallel/test-querystring-maxKeys-non-finite.js')
-rw-r--r-- | test/parallel/test-querystring-maxKeys-non-finite.js | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/test/parallel/test-querystring-maxKeys-non-finite.js b/test/parallel/test-querystring-maxKeys-non-finite.js index da72dbf17c..2db3acff0f 100644 --- a/test/parallel/test-querystring-maxKeys-non-finite.js +++ b/test/parallel/test-querystring-maxKeys-non-finite.js @@ -39,12 +39,18 @@ const params = createManyParams(count); // In this instance split will always return an empty array // this test confirms that the output of parse is the expected length // when passed Infinity as the argument for maxKeys -const resultInfinity = parse(params, undefined, undefined, {maxKeys: Infinity}); -const resultNaN = parse(params, undefined, undefined, {maxKeys: NaN}); +const resultInfinity = parse(params, undefined, undefined, { + maxKeys: Infinity +}); +const resultNaN = parse(params, undefined, undefined, { + maxKeys: NaN +}); const resultInfinityString = parse(params, undefined, undefined, { maxKeys: 'Infinity' }); -const resultNaNString = parse(params, undefined, undefined, {maxKeys: 'NaN'}); +const resultNaNString = parse(params, undefined, undefined, { + maxKeys: 'NaN' +}); // Non Finite maxKeys should return the length of input assert.strictEqual(Object.keys(resultInfinity).length, count); |