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 jasnell committed Dec 6, 2016
1 parent 69b1a76 commit 6eee34a
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 6eee34a

Please sign in to comment.