diff --git a/test/parallel/test-crypto-domain.js b/test/parallel/test-crypto-domain.js index 9bb6c0229648e7..ec9985719933d3 100644 --- a/test/parallel/test-crypto-domain.js +++ b/test/parallel/test-crypto-domain.js @@ -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;