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: #10067
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
  • Loading branch information
davidmarkclements authored and MylesBorins committed Dec 20, 2016
1 parent 6c64f6c commit d9cca39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-crypto-domain.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function test(fn) {
var ex = new Error('BAM');
var d = domain.create();
d.on('error', common.mustCall(function(err) {
assert.equal(err, ex);
assert.strictEqual(err, ex);
}));
var cb = common.mustCall(function() {
throw ex;
Expand Down

0 comments on commit d9cca39

Please sign in to comment.