Browse Source

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>
v6
Scott Smereka 8 years ago
committed by James M Snell
parent
commit
6eee34a168
  1. 4
      test/parallel/test-exception-handler.js

4
test/parallel/test-exception-handler.js

@ -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…
Cancel
Save