diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2015-05-12 12:38:04 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2015-05-12 12:38:04 +0300 |
commit | 02c3235e71e121326e517fdd9e43a55c753ab99f (patch) | |
tree | a1d15f2cf4b6a326c12b5a0d3a7ddc36a4a3a97d /test/cmd.js | |
parent | e9bbf47660c9122a28417c7d391c45739d4b40fc (diff) |
fixes for parse-torrent@5
Fixes https://github.com/feross/parse-torrent/issues/9
Diffstat (limited to 'test/cmd.js')
-rw-r--r-- | test/cmd.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cmd.js b/test/cmd.js index 498eec3..60944bf 100644 --- a/test/cmd.js +++ b/test/cmd.js @@ -67,7 +67,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.thepiratebay.org%2Fannounce&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Ftracker.ccc.de%3A80&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80&tr=udp%3A%2F%2Ffr33domtracker.h33t.com%3A3310%2Fannounce&tr=http%3A%2F%2Ftracker.bittorrent.am%2Fannounce' + 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' cp.exec(CMD + ' info "' + leavesMagnetURI + '"', function (err, data) { t.error(err) |