mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
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:
1 parent
4422c35c5e
commit
26f0aec9a1
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user