From dfd235d3874819b1588dd9d061b8e99c4be587ab Mon Sep 17 00:00:00 2001 From: Aliaksei Sapach Date: Sun, 18 May 2014 19:41:42 +0300 Subject: [PATCH] fixed test plan --- test/server.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/server.js b/test/server.js index b73d41b..36bc0bb 100644 --- a/test/server.js +++ b/test/server.js @@ -11,7 +11,7 @@ var peerId = '12345678901234567890' var torrentLength = 50000 test('server', function (t) { - t.plan(22) + t.plan(23) var server = new Server() // { interval: 50000, compactOnly: false } @@ -82,6 +82,7 @@ test('server', function (t) { client2.once('peer', function (addr) { t.equal(addr, '127.0.0.1:6881') + client2.stop() client.stop() client.once('update', function (data) {