Integration test: address PR comments

This commit is contained in:
DC
2016-09-17 18:14:31 -07:00
parent 711d274398
commit 6541291e0d
6 changed files with 16 additions and 12 deletions

View File

@@ -165,6 +165,6 @@ function compareTorrentFiles (t, pathActual, pathExpected) {
function extractImportantFields (parsedTorrent) {
const { infoHash, name, announce, urlList, comment } = parsedTorrent
const priv = parsedTorrent.private
const priv = parsedTorrent.private // private is a reserved word in JS
return { infoHash, name, announce, urlList, comment, 'private': priv }
}