summaryrefslogtreecommitdiff
path: root/test/simple/test-querystring.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/simple/test-querystring.js')
-rw-r--r--test/simple/test-querystring.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/simple/test-querystring.js b/test/simple/test-querystring.js
index bfaf9ae18a..0764481cb8 100644
--- a/test/simple/test-querystring.js
+++ b/test/simple/test-querystring.js
@@ -185,9 +185,8 @@ assert.deepEqual({}, qs.parse());
// Test limiting
assert.equal(
- Object.keys(qs.parse('a=1&b=1&c=1', null, null, { maxKeys: 1 })).length,
- 1
-);
+ Object.keys(qs.parse('a=1&b=1&c=1', null, null, { maxKeys: 1 })).length,
+ 1);
// Test removing limit
function testUnlimitedKeys() {
@@ -199,9 +198,8 @@ function testUnlimitedKeys() {
url = qs.stringify(query);
assert.equal(
- Object.keys(qs.parse(url, null, null, { maxKeys: 0 })).length,
- 2000
- );
+ Object.keys(qs.parse(url, null, null, { maxKeys: 0 })).length,
+ 2000);
}
testUnlimitedKeys();