Skip to content

Commit

Permalink
Missed a variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
Snipa22 committed Jun 30, 2017
1 parent c105f43 commit bef87ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ for (let hashType in hashes){
input: fs.createReadStream(hashes[hashType].file)
});
lr.on('line', function (line) {
if (hashes[hashType].format === 'cn'){
if (hashes[hashType].fileFormat === 'cn'){
let line_data = line.split(' ');
if (line_data[0] !== hashes[hashType].function(Buffer.from(line_data[1])).toString('hex')){
testsFailed += 1;
Expand Down

0 comments on commit bef87ad

Please sign in to comment.