diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2016-09-27 06:09:26 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2016-09-27 06:09:26 +0300 |
commit | 4998a294b9f2e8bd2e95b24cac416e2f0b4c95b0 (patch) | |
tree | 2452a03900f3ad642ac879de06315d1cb5b74c1a /test | |
parent | d62778ed0786818971a72f75be4d4a52494cae83 (diff) |
test: style cleanup
Diffstat (limited to 'test')
-rw-r--r-- | test/node/basic.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/node/basic.js b/test/node/basic.js index 8bf598c..7559309 100644 --- a/test/node/basic.js +++ b/test/node/basic.js @@ -99,7 +99,7 @@ test('client.seed: filesystem path to folder with one file, string', function (t client.on('error', function (err) { t.fail(err) }) client.on('warning', function (err) { t.fail(err) }) - client.seed(fixtures.folder.contentPath, {announce: false}, function (torrent) { + client.seed(fixtures.folder.contentPath, {announce: []}, function (torrent) { t.equal(client.torrents.length, 1) t.equal(torrent.infoHash, fixtures.folder.parsedTorrent.infoHash) t.equal(torrent.magnetURI, fixtures.folder.magnetURI) @@ -119,7 +119,7 @@ test('client.seed: filesystem path to folder with multiple files, string', funct client.on('error', function (err) { t.fail(err) }) client.on('warning', function (err) { t.fail(err) }) - client.seed(fixtures.numbers.contentPath, {announce: false}, function (torrent) { + client.seed(fixtures.numbers.contentPath, {announce: []}, function (torrent) { t.equal(client.torrents.length, 1) t.equal(torrent.infoHash, fixtures.numbers.parsedTorrent.infoHash) t.equal(torrent.magnetURI, fixtures.numbers.magnetURI) |