Skip to content

Commit

Permalink
Chore: (tests) fixes bytes in md5 message
Browse files Browse the repository at this point in the history
  • Loading branch information
pustovitDmytro committed Apr 23, 2021
1 parent c524f2e commit 649d648
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ export async function checkError(promise, type, message) {
}
}

export async function checkMD5(file, hash, message) {
export async function checkMD5(file, hash) {
const buff = await fs.readFile(file);

assert.equal(md5(buff), hash, message, Buffer.byteLength(buff));
assert.equal(md5(buff), hash, Buffer.byteLength(buff));
}

0 comments on commit 649d648

Please sign in to comment.