diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2015-01-27 12:10:23 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2015-01-27 12:10:23 +0300 |
commit | f5302a98131ca1e56591a49ff6ece472917b3ed8 (patch) | |
tree | d1ff6aa8c508fb3d000f602f407188b8910ffcfc /test/storage.js | |
parent | b2541ab952956c4b01cd94f003ffcad0af355d4d (diff) |
style
Diffstat (limited to 'test/storage.js')
-rw-r--r-- | test/storage.js | 4 |
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 |