Skip to content
This repository has been archived by the owner on Jul 6, 2018. It is now read-only.

Commit

Permalink
http2: eslint object-curly-spacing: ["error", "always"] (Squash)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebdeckers committed Jul 10, 2017
1 parent 1ab2a11 commit 64376eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/parallel/test-http2-compat-serverresponse-end.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const {
response.end(mustNotCall());
}));
server.listen(0, mustCall(() => {
const {port} = server.address();
const { port } = server.address();
const url = `http://localhost:${port}`;
const client = connect(url, mustCall(() => {
const headers = {
Expand All @@ -45,12 +45,12 @@ const {
// is already closed. Headers, however, can still be sent to the client.
const server = createServer(mustCall((request, response) => {
strictEqual(response.finished, true);
response.writeHead(HTTP_STATUS_OK, {foo: 'bar'});
response.writeHead(HTTP_STATUS_OK, { foo: 'bar' });
response.flushHeaders();
response.end(mustNotCall());
}));
server.listen(0, mustCall(() => {
const {port} = server.address();
const { port } = server.address();
const url = `http://localhost:${port}`;
const client = connect(url, mustCall(() => {
const headers = {
Expand Down

0 comments on commit 64376eb

Please sign in to comment.