Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2015-08-22 18:17:22 +0300
committerFeross Aboukhadijeh <feross@feross.org>2015-08-22 18:17:22 +0300
commitb1f87ef4bba5c07994ed7363ddf4e99ef794ab1e (patch)
tree6bb98136725d0be547494051eeb8c269dfb0a4b0 /test/metadata.js
parente610ea9748d1b3c67387c833be767ae2a64c41a2 (diff)
test: torrent.parsedTorrent is gone
Diffstat (limited to 'test/metadata.js')
-rw-r--r--test/metadata.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/metadata.js b/test/metadata.js
index cf386aa..fe2ee0c 100644
--- a/test/metadata.js
+++ b/test/metadata.js
@@ -28,7 +28,7 @@ test('ut_metadata transfer', function (t) {
client1.add(leaves)
client1.on('torrent', function (torrent1) {
- t.deepEqual(torrent1.parsedTorrent.info, leavesTorrent.info)
+ t.deepEqual(torrent1.info, leavesTorrent.info)
// client2 starts with infohash
client2.add(leavesTorrent.infoHash)
@@ -38,7 +38,7 @@ test('ut_metadata transfer', function (t) {
torrent2.addPeer('127.0.0.1:' + client1.torrentPort)
client2.on('torrent', function () {
- t.deepEqual(torrent1.parsedTorrent.info, torrent2.parsedTorrent.info)
+ t.deepEqual(torrent1.info, torrent2.info)
client1.destroy(function () {
t.pass('client1 destroyed')