From a3ff272326843665836ab6ba8cda5e1fffb9b688 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Wed, 29 Jun 2016 09:37:28 -0700 Subject: [PATCH] squash: object shorthand nits --- .../test-http-client-keep-alive-release-before-finish.js | 8 ++++---- test/parallel/test-http-no-read-no-dump.js | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/test/parallel/test-http-client-keep-alive-release-before-finish.js b/test/parallel/test-http-client-keep-alive-release-before-finish.js index 23686f89c28e5a..0efedc91e2613d 100644 --- a/test/parallel/test-http-client-keep-alive-release-before-finish.js +++ b/test/parallel/test-http-client-keep-alive-release-before-finish.js @@ -13,9 +13,9 @@ const server = http.createServer((req, res) => { const port = server.address().port; const post = http.request({ - agent: agent, + agent, method: 'POST', - port: port, + port, }, common.mustCall((res) => { res.resume(); })); @@ -30,9 +30,9 @@ const server = http.createServer((req, res) => { }, 100); http.request({ - agent: agent, + agent, method: 'GET', - port: port, + port, }, common.mustCall((res) => { server.close(); res.connection.end(); diff --git a/test/parallel/test-http-no-read-no-dump.js b/test/parallel/test-http-no-read-no-dump.js index 457632d6926f68..17d36c56b2eeba 100644 --- a/test/parallel/test-http-no-read-no-dump.js +++ b/test/parallel/test-http-no-read-no-dump.js @@ -24,9 +24,9 @@ const server = http.createServer((req, res) => { const port = server.address().port; const post = http.request({ - agent: agent, + agent, method: 'POST', - port: port, + port, }, common.mustCall((res) => { res.resume(); @@ -43,9 +43,9 @@ const server = http.createServer((req, res) => { post.write('initial'); http.request({ - agent: agent, + agent, method: 'GET', - port: port, + port, }, common.mustCall((res) => { server.close(); res.connection.end();