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:
authorFeross Aboukhadijeh <feross@feross.org>2015-01-27 12:10:23 +0300
committerFeross Aboukhadijeh <feross@feross.org>2015-01-27 12:10:23 +0300
commitf5302a98131ca1e56591a49ff6ece472917b3ed8 (patch)
treed1ff6aa8c508fb3d000f602f407188b8910ffcfc /test/storage.js
parentb2541ab952956c4b01cd94f003ffcad0af355d4d (diff)
style
Diffstat (limited to 'test/storage.js')
-rw-r--r--test/storage.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/storage.js b/test/storage.js
index 6665be6..15c3987 100644
--- a/test/storage.js
+++ b/test/storage.js
@@ -24,7 +24,7 @@ torrents.forEach(function (torrent) {
var length = 0
var pieces = 0
- storage.pieces.forEach(function (piece, index) {
+ storage.pieces.forEach(function (piece) {
t.notOk(piece.verified)
length += piece.length
@@ -37,7 +37,7 @@ torrents.forEach(function (torrent) {
t.equal(length, parsedTorrent.length)
length = 0
- storage.files.forEach(function (file, index) {
+ storage.files.forEach(function (file) {
t.notOk(file.done)
length += file.length
pieces += file.pieces.length