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 <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 MylesBorins committed Dec 21, 2016
1 parent 645624f commit d8822d5
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 d8822d5

Please sign in to comment.