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/inspector/inspector-helper.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/inspector/inspector-helper.js')
-rw-r--r-- | test/inspector/inspector-helper.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/inspector/inspector-helper.js b/test/inspector/inspector-helper.js index bc60974364..e6964b0fa2 100644 --- a/test/inspector/inspector-helper.js +++ b/test/inspector/inspector-helper.js @@ -90,7 +90,7 @@ function tearDown(child, err) { } function checkHttpResponse(host, port, path, callback, errorcb) { - const req = http.get({host, port, path}, function(res) { + const req = http.get({ host, port, path }, function(res) { let response = ''; res.setEncoding('utf8'); res @@ -377,7 +377,7 @@ function Harness(port, childProcess) { this.stderrFilters_ = pending; })); childProcess.on('exit', (code, signal) => { - this.result_ = {code, signal}; + this.result_ = { code, signal }; this.running_ = false; }); } @@ -483,7 +483,7 @@ Harness.prototype.expectShutDown = function(errorCode) { const timeoutId = timeout('Have not terminated'); this.process_.on('exit', (code, signal) => { clearTimeout(timeoutId); - assert.strictEqual(errorCode, code, JSON.stringify({code, signal})); + assert.strictEqual(errorCode, code, JSON.stringify({ code, signal })); callback(); }); } else { |