diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2015-04-11 09:18:04 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2015-04-11 09:18:04 +0300 |
commit | b4ee1d4706eff6ccf8cf6b8c34f9ea424737a6f2 (patch) | |
tree | 6873f2525e05344a76d5ca9f076a7e851d25ab96 /test/blocklist-dht.js | |
parent | 9cdb94e92feab5784f67f660816034a99cc0ee13 (diff) |
Breaking: rename "blocked-peer" event to "blockedPeer"
Diffstat (limited to 'test/blocklist-dht.js')
-rw-r--r-- | test/blocklist-dht.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/blocklist-dht.js b/test/blocklist-dht.js index 71dee81..9ddb316 100644 --- a/test/blocklist-dht.js +++ b/test/blocklist-dht.js @@ -49,7 +49,7 @@ test('blocklist blocks peers discovered via DHT', function (t) { t.fail('client1 should not find any peers') }) - torrent1.on('blocked-peer', function () { + torrent1.on('blockedPeer', function () { t.fail('client1 should not block any peers') }) }], @@ -64,7 +64,7 @@ test('blocklist blocks peers discovered via DHT', function (t) { var torrent2 = client2.add(leavesParsed) - torrent2.on('blocked-peer', function () { + torrent2.on('blockedPeer', function () { t.pass('client2 blocked connection to client1') }) |