Skip to content

Commit

Permalink
test: assert.equal -> assert.strictEqual
Browse files Browse the repository at this point in the history
changes assert.equal to assert.strictEqual to ensure specificity

PR-URL: #10065
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
davidmarkclements authored and MylesBorins committed Dec 21, 2016
1 parent 2286863 commit b7b2fc1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/parallel/test-crypto-stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ if (!common.hasFipsCrypto) {
// Create an md5 hash of "Hallo world"
var hasher1 = crypto.createHash('md5');
hasher1.pipe(new Stream2buffer(common.mustCall(function end(err, hash) {
assert.equal(err, null);
assert.equal(hash.toString('hex'), '06460dadb35d3d503047ce750ceb2d07');
assert.strictEqual(err, null);
assert.strictEqual(
hash.toString('hex'), '06460dadb35d3d503047ce750ceb2d07'
);
})));
hasher1.end('Hallo world');

Expand Down

0 comments on commit b7b2fc1

Please sign in to comment.