Skip to content

Commit a59a306

Browse files
committed
Fix webtorrent version parsing
1 parent cf0b22b commit a59a306

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/stats.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ test('server: get leecher stats.json', function (t) {
145145
t.equal(stats.peersSeederOnly, 0)
146146
t.equal(stats.peersLeecherOnly, 1)
147147
t.equal(stats.peersSeederAndLeecher, 0)
148-
t.equal(stats.clients['WebTorrent']['0.0.9.1'], 1)
148+
t.equal(stats.clients['WebTorrent']['0.91'], 1)
149149

150150
client.destroy(function () { t.pass('client destroyed') })
151151
server.close(function () { t.pass('server closed') })

0 commit comments

Comments
 (0)