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 49d8fae commit dc389f6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/not-blocking.js
Original file line number Diff line number Diff line change
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 dc389f6

Please sign in to comment.