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 addaleax committed Dec 8, 2016
1 parent bb950a6 commit 67b11a4
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 67b11a4

Please sign in to comment.