diff --git a/test/not-blocking.js b/test/not-blocking.js index 781c1aef..7d428c89 100644 --- a/test/not-blocking.js +++ b/test/not-blocking.js @@ -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)