summaryrefslogtreecommitdiff
path: root/test/parallel/test-net-server-max-connections-close-makes-more-available.js
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2016-07-29 21:41:10 -0700
committerRich Trott <rtrott@gmail.com>2016-08-02 09:52:50 -0700
commitb4258bba11f399503c3cf4fceff0c67a52c05a11 (patch)
tree9d47daeed298d27a0580f01c0e42b6248d5ca661 /test/parallel/test-net-server-max-connections-close-makes-more-available.js
parent93ac2ea36e4a77211b6ba68240833c902c6e057a (diff)
downloadnode-new-b4258bba11f399503c3cf4fceff0c67a52c05a11.tar.gz
test: improve chained property readability
A new version of ESLint flags chained properties on multiple lines that were not flagged by the previous version of ESLint. In preparation for turning that feature on, adjust alignment to that expected by the linter. This change happened to be predominantly around assertions using `assert()` and `assert.equal()`. These were changed to `assert.strictEqual()` where possible. PR-URL: https://github.com/nodejs/node/pull/7920 Reviewed-By: Michaƫl Zasso <mic.besace@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'test/parallel/test-net-server-max-connections-close-makes-more-available.js')
-rw-r--r--test/parallel/test-net-server-max-connections-close-makes-more-available.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/parallel/test-net-server-max-connections-close-makes-more-available.js b/test/parallel/test-net-server-max-connections-close-makes-more-available.js
index 2f8bee1a8d..fb9831d05b 100644
--- a/test/parallel/test-net-server-max-connections-close-makes-more-available.js
+++ b/test/parallel/test-net-server-max-connections-close-makes-more-available.js
@@ -69,12 +69,12 @@ server.maxConnections = 1;
server.listen(0, function() {
createConnection(0)
- .then(createConnection.bind(null, 1))
- .then(closeConnection.bind(null, 0))
- .then(createConnection.bind(null, 2))
- .then(createConnection.bind(null, 3))
- .then(server.close.bind(server))
- .then(closeConnection.bind(null, 2));
+ .then(createConnection.bind(null, 1))
+ .then(closeConnection.bind(null, 0))
+ .then(createConnection.bind(null, 2))
+ .then(createConnection.bind(null, 3))
+ .then(server.close.bind(server))
+ .then(closeConnection.bind(null, 2));
});
process.on('exit', function() {