diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/node/download-from-ip.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/node/download-from-ip.js b/test/node/download-from-ip.js index ba25d41..5905473 100644 --- a/test/node/download-from-ip.js +++ b/test/node/download-from-ip.js @@ -69,7 +69,7 @@ test('Download via magnet x.pe (BEP09)', (t) => { // torrent metadata has been fetched -- sanity check it t.equal(torrent.name, 'Leaves of Grass by Walt Whitman.epub') - var names = ['Leaves of Grass by Walt Whitman.epub'] + const names = ['Leaves of Grass by Walt Whitman.epub'] t.deepEqual(torrent.files.map(function (file) { return file.name }), names) }) |