Skip to content

Commit baa1acc

Browse files
davidmarkclementsaddaleax
davidmarkclements
authored andcommitted
test: assert.equal -> assert.strictEqual
changes assert.equal to assert.strictEqual to ensure specificity PR-URL: #10065 Reviewed-By: Colin Ihrig <[email protected]>
1 parent a34e195 commit baa1acc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/parallel/test-crypto-stream.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,10 @@ if (!common.hasFipsCrypto) {
3030
// Create an md5 hash of "Hallo world"
3131
var hasher1 = crypto.createHash('md5');
3232
hasher1.pipe(new Stream2buffer(common.mustCall(function end(err, hash) {
33-
assert.equal(err, null);
34-
assert.equal(hash.toString('hex'), '06460dadb35d3d503047ce750ceb2d07');
33+
assert.strictEqual(err, null);
34+
assert.strictEqual(
35+
hash.toString('hex'), '06460dadb35d3d503047ce750ceb2d07'
36+
);
3537
})));
3638
hasher1.end('Hallo world');
3739

0 commit comments

Comments
 (0)