Skip to content

Commit 6eee34a

Browse files
ssmerekajasnell
authored andcommitted
test: changed assert.equal to assert.strictEqual
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>
1 parent 69b1a76 commit 6eee34a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-exception-handler.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ var MESSAGE = 'catch me if you can';
66

77
process.on('uncaughtException', common.mustCall(function(e) {
88
console.log('uncaught exception! 1');
9-
assert.equal(MESSAGE, e.message);
9+
assert.strictEqual(MESSAGE, e.message);
1010
}));
1111

1212
process.on('uncaughtException', common.mustCall(function(e) {
1313
console.log('uncaught exception! 2');
14-
assert.equal(MESSAGE, e.message);
14+
assert.strictEqual(MESSAGE, e.message);
1515
}));
1616

1717
setTimeout(function() {

0 commit comments

Comments
 (0)