summaryrefslogtreecommitdiff
path: root/test/parallel/test-timers-uncaught-exception.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-timers-uncaught-exception.js')
-rw-r--r--test/parallel/test-timers-uncaught-exception.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/parallel/test-timers-uncaught-exception.js b/test/parallel/test-timers-uncaught-exception.js
index 87fd880de4..e5ec037ff8 100644
--- a/test/parallel/test-timers-uncaught-exception.js
+++ b/test/parallel/test-timers-uncaught-exception.js
@@ -18,13 +18,13 @@ setTimeout(function() {
console.error('set second timer');
setTimeout(function() {
console.error('second timer');
- assert.equal(timer1, 1);
+ assert.strictEqual(timer1, 1);
timer2++;
}, 100);
function uncaughtException(err) {
console.error('uncaught handler');
- assert.equal(err.message, 'BAM!');
+ assert.strictEqual(err.message, 'BAM!');
exceptions++;
}
process.on('uncaughtException', uncaughtException);
@@ -34,7 +34,7 @@ process.on('exit', function() {
assert(!exited);
exited = true;
process.removeListener('uncaughtException', uncaughtException);
- assert.equal(exceptions, 1);
- assert.equal(timer1, 1);
- assert.equal(timer2, 1);
+ assert.strictEqual(exceptions, 1);
+ assert.strictEqual(timer1, 1);
+ assert.strictEqual(timer2, 1);
});