From 2f6948b7006d7704baa63c9ab6247764ac4d6777 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Sun, 10 Jan 2016 18:43:15 +0100 Subject: test: fix test --- test/node/cmd.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/node') 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))) }) }) -- cgit v1.2.3