Skip to content
Closed
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] address nit
  • Loading branch information
addaleax committed Jul 21, 2017
commit 2e84c7bf1ad460106f6ebc03f9748f5d138b6283
4 changes: 2 additions & 2 deletions test/parallel/test-http-upgrade-reconsume-stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ server.on('upgrade', common.mustCall((request, socket, head) => {
}));

server.listen(0, common.mustCall(() => {
http.request({
http.get({
port: server.address().port,
headers: {
'Connection': 'Upgrade',
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Even though we agreed not to lint quote-props in #14059, most people seem to prefer as-needed, so I would probably drop the quotes here. It's up to you :)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the quotes for map-like objects :)

'Upgrade': 'websocket'
}
}).on('error', () => {}).end();
}).on('error', () => {});
}));