Skip to content
Permalink
Browse files

test: remove third argument from call to assert.strictEqual()

PR-URL: #22047
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information...
mpsommer authored and Trott committed Jul 31, 2018
1 parent 90972d5 commit 1f56c566c4e8be32683b5ebaf7c397b59c603428
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/parallel/test-crypto-hash.js
@@ -100,9 +100,9 @@ fileStream.on('data', function(data) {
sha1Hash.update(data);
});
fileStream.on('close', common.mustCall(function() {
// Test SHA1 of sample.png
assert.strictEqual(sha1Hash.digest('hex'),
'22723e553129a336ad96e10f6aecdf0f45e4149e',
'Test SHA1 of sample.png');
'22723e553129a336ad96e10f6aecdf0f45e4149e');
}));

// Issue https://github.com/nodejs/node-v0.x-archive/issues/2227: unknown digest

0 comments on commit 1f56c56

Please sign in to comment.
You can’t perform that action at this time.