Skip to content

Commit

Permalink
test: changed assert.equal to assert.strictEqual
Browse files Browse the repository at this point in the history
PR-URL: nodejs#9936
Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
ssmereka authored and Jonathan Darling committed Dec 8, 2016
1 parent c650864 commit 6df87fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-exception-handler.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ var MESSAGE = 'catch me if you can';

process.on('uncaughtException', common.mustCall(function(e) {
console.log('uncaught exception! 1');
assert.equal(MESSAGE, e.message);
assert.strictEqual(MESSAGE, e.message);
}));

process.on('uncaughtException', common.mustCall(function(e) {
console.log('uncaught exception! 2');
assert.equal(MESSAGE, e.message);
assert.strictEqual(MESSAGE, e.message);
}));

setTimeout(function() {
Expand Down

0 comments on commit 6df87fe

Please sign in to comment.