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:
-rw-r--r--test/node/cmd.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/node/cmd.js b/test/node/cmd.js
index 8c334b3..4c4f9e2 100644
--- a/test/node/cmd.js
+++ b/test/node/cmd.js
@@ -57,6 +57,7 @@ test('Command line: webtorrent info /path/to/file.torrent', function (t) {
var parsedTorrent = extend(common.leaves.parsedTorrent)
delete parsedTorrent.info
delete parsedTorrent.infoBuffer
+ delete parsedTorrent.infoHashBuffer
t.deepEqual(data, JSON.parse(JSON.stringify(parsedTorrent, undefined, 2)))
})
@@ -74,6 +75,7 @@ test('Command line: webtorrent info magnet_uri', function (t) {
t.error(err)
data = JSON.parse(data)
var parsedTorrent = parseTorrent(leavesMagnetURI)
+ delete parsedTorrent.infoHashBuffer
t.deepEqual(data, JSON.parse(JSON.stringify(parsedTorrent, undefined, 2)))
})
})