diff options
author | Sebastiaan Deckers <sebdeckers83@gmail.com> | 2017-07-10 20:55:21 -0400 |
---|---|---|
committer | Refael Ackermann <refack@gmail.com> | 2017-07-21 15:13:47 -0400 |
commit | bb294059040def8e8c0b1719cc17f6537ab5cb39 (patch) | |
tree | acc6b7bcf88da8e6078fa5ab91f6718289f32bbf /test/parallel/test-http-1.0.js | |
parent | 4f875222445b07016a8294fa5a5bf7418c735489 (diff) | |
download | android-node-v8-bb294059040def8e8c0b1719cc17f6537ab5cb39.tar.gz android-node-v8-bb294059040def8e8c0b1719cc17f6537ab5cb39.tar.bz2 android-node-v8-bb294059040def8e8c0b1719cc17f6537ab5cb39.zip |
lib,src: fix consistent spacing inside braces
PR-URL: https://github.com/nodejs/node/pull/14162
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/parallel/test-http-1.0.js')
-rw-r--r-- | test/parallel/test-http-1.0.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/parallel/test-http-1.0.js b/test/parallel/test-http-1.0.js index f67d949bc8..47df50e289 100644 --- a/test/parallel/test-http-1.0.js +++ b/test/parallel/test-http-1.0.js @@ -61,7 +61,7 @@ function test(handler, request_generator, response_validator) { assert.strictEqual('1.0', req.httpVersion); assert.strictEqual(1, req.httpVersionMajor); assert.strictEqual(0, req.httpVersionMinor); - res.writeHead(200, {'Content-Type': 'text/plain'}); + res.writeHead(200, { 'Content-Type': 'text/plain' }); res.end(body); } @@ -90,7 +90,7 @@ function test(handler, request_generator, response_validator) { assert.strictEqual(1, req.httpVersionMajor); assert.strictEqual(0, req.httpVersionMinor); res.sendDate = false; - res.writeHead(200, {'Content-Type': 'text/plain'}); + res.writeHead(200, { 'Content-Type': 'text/plain' }); res.write('Hello, '); res._send(''); res.write('world!'); res._send(''); res.end(); @@ -126,7 +126,7 @@ function test(handler, request_generator, response_validator) { assert.strictEqual(1, req.httpVersionMajor); assert.strictEqual(1, req.httpVersionMinor); res.sendDate = false; - res.writeHead(200, {'Content-Type': 'text/plain'}); + res.writeHead(200, { 'Content-Type': 'text/plain' }); res.write('Hello, '); res._send(''); res.write('world!'); res._send(''); res.end(); |