diff --git a/test/stats.js b/test/stats.js index e2581ca..bed8ae5 100644 --- a/test/stats.js +++ b/test/stats.js @@ -145,7 +145,7 @@ test('server: get leecher stats.json', function (t) { t.equal(stats.peersSeederOnly, 0) t.equal(stats.peersLeecherOnly, 1) t.equal(stats.peersSeederAndLeecher, 0) - t.equal(stats.clients['WebTorrent']['0.0.9.1'], 1) + t.equal(stats.clients['WebTorrent']['0.91'], 1) client.destroy(function () { t.pass('client destroyed') }) server.close(function () { t.pass('server closed') })