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:
Diffstat (limited to 'test/cmd.js')
-rw-r--r--test/cmd.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cmd.js b/test/cmd.js
index 461b54d..59f0f56 100644
--- a/test/cmd.js
+++ b/test/cmd.js
@@ -70,7 +70,7 @@ test('Command line: webtorrent info /path/to/file.torrent', function (t) {
test('Command line: webtorrent info magnet_uri', function (t) {
t.plan(2)
- var leavesMagnetURI = 'magnet:?xt=urn:btih:d2474e86c95b19b8bcfdb92bc12c9d44667cfa36&dn=Leaves+of+Grass+by+Walt+Whitman.epub&tr=http%3A%2F%2Ftracker.bittorrent.am%2Fannounce&tr=http%3A%2F%2Ftracker.thepiratebay.org%2Fannounce&tr=udp%3A%2F%2Ffr33domtracker.h33t.com%3A3310%2Fannounce&tr=udp%3A%2F%2Ftracker.ccc.de%3A80&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80'
+ var leavesMagnetURI = 'magnet:?xt=urn:btih:6a9759bffd5c0af65319979fb7832189f4f3c35d&dn=Leaves+of+Grass+by+Walt+Whitman.epub&tr=http%3A%2F%2Ftracker.bittorrent.am%2Fannounce&tr=http%3A%2F%2Ftracker.thepiratebay.org%2Fannounce&tr=udp%3A%2F%2Ffr33domtracker.h33t.com%3A3310%2Fannounce&tr=udp%3A%2F%2Ftracker.ccc.de%3A80&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80'
cp.exec(CMD + ' info "' + leavesMagnetURI + '"', function (err, data) {
t.error(err)
@@ -95,7 +95,7 @@ test('Command line: webtorrent create /path/to/file', function (t) {
child.stdout.on('end', function () {
var buf = Buffer.concat(chunks)
var parsedTorrent = parseTorrent(new Buffer(buf, 'binary'))
- t.deepEqual(parsedTorrent.infoHash, 'd2474e86c95b19b8bcfdb92bc12c9d44667cfa36')
+ t.deepEqual(parsedTorrent.infoHash, '6a9759bffd5c0af65319979fb7832189f4f3c35d')
})
})