Fix webtorrent version parsing

This commit is contained in:
Feross Aboukhadijeh 2016-07-29 18:18:32 -07:00
parent cf0b22b04f
commit a59a3069b5

View File

@ -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') })