Skip to content

Commit a60060b

Browse files
mpsommertargos
authored andcommitted
test: remove third argument from call to assert.strictEqual()
PR-URL: #22047 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent 246a94f commit a60060b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-crypto-hash.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ fileStream.on('data', function(data) {
100100
sha1Hash.update(data);
101101
});
102102
fileStream.on('close', common.mustCall(function() {
103+
// Test SHA1 of sample.png
103104
assert.strictEqual(sha1Hash.digest('hex'),
104-
'22723e553129a336ad96e10f6aecdf0f45e4149e',
105-
'Test SHA1 of sample.png');
105+
'22723e553129a336ad96e10f6aecdf0f45e4149e');
106106
}));
107107

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

0 commit comments

Comments
 (0)