test: remove third argument from call to assert.strictEqual()
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
parent
90972d5cb6
commit
1f56c566c4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user