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: #9936
Reviewed-By: Teddy Katz <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
ssmereka authored and Fishrock123 committed Dec 6, 2016
1 parent cbdc64e commit 328cd93
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 328cd93

Please sign in to comment.