Skip to content

Commit

Permalink
Compact code
Browse files Browse the repository at this point in the history
  • Loading branch information
gnought committed Apr 6, 2021
1 parent 1e52e7c commit b6f0c7c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/not-blocking.js
Expand Up @@ -29,8 +29,7 @@ test('connect 500 concurrent clients', function (t) {
t.equal(clients.length, total)
t.equal(connected, total)
while (clients.length) {
let c = clients.shift()
c.end()
clients.shift().end()
}
}, total)

Expand Down

0 comments on commit b6f0c7c

Please sign in to comment.