Skip to content

Commit

Permalink
squash: object shorthand nits
Browse files Browse the repository at this point in the history
  • Loading branch information
Trott committed Jun 29, 2016
1 parent 515db4c commit a3ff272
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}));
Expand All @@ -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();
Expand Down
8 changes: 4 additions & 4 deletions test/parallel/test-http-no-read-no-dump.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand All @@ -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();
Expand Down

0 comments on commit a3ff272

Please sign in to comment.