Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
squash: object shorthand nits
  • Loading branch information
Trott committed Jun 29, 2016
commit a3ff272326843665836ab6ba8cda5e1fffb9b688
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