diff options
Diffstat (limited to 'test/parallel/test-http-keep-alive-close-on-header.js')
-rw-r--r-- | test/parallel/test-http-keep-alive-close-on-header.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-http-keep-alive-close-on-header.js b/test/parallel/test-http-keep-alive-close-on-header.js index fa459a00e6..f5fb9466db 100644 --- a/test/parallel/test-http-keep-alive-close-on-header.js +++ b/test/parallel/test-http-keep-alive-close-on-header.js @@ -25,10 +25,10 @@ const assert = require('assert'); const http = require('http'); const body = 'hello world\n'; -const headers = {'connection': 'keep-alive'}; +const headers = { 'connection': 'keep-alive' }; const server = http.createServer(function(req, res) { - res.writeHead(200, {'Content-Length': body.length, 'Connection': 'close'}); + res.writeHead(200, { 'Content-Length': body.length, 'Connection': 'close' }); res.write(body); res.end(); }); |