test: changed assert.equal to assert.strictEqual
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
parent
69b1a76ddd
commit
6eee34a168
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user