test: assert.equal -> assert.strictEqual

changes assert.equal to assert.strictEqual to ensure specificity

PR-URL: https://github.com/nodejs/node/pull/10067
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
This commit is contained in:
davidmarkclements authored and Anna Henningsen committed 2016-12-05 00:51:37 +01:00
1 parent 4422c35c5e
commit 26f0aec9a1
1 file changed
+1 -1
+1 -1
View File
@@ -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;