From ce4518b82717a1b45ee853a9ef020bf34058a15c Mon Sep 17 00:00:00 2001 From: Ashita Nagesh Date: Thu, 1 Dec 2016 12:06:43 -0500 Subject: [PATCH] test: change assert.strict to assert.strictEqual() PR-URL: https://github.com/nodejs/node/pull/9988 Reviewed-By: Colin Ihrig Reviewed-By: James M Snell Reviewed-By: Luigi Pinca --- .../test-domain-with-abort-on-uncaught-exception.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/parallel/test-domain-with-abort-on-uncaught-exception.js b/test/parallel/test-domain-with-abort-on-uncaught-exception.js index eae1d28e846ce2..6fb3912e5b8d9c 100644 --- a/test/parallel/test-domain-with-abort-on-uncaught-exception.js +++ b/test/parallel/test-domain-with-abort-on-uncaught-exception.js @@ -125,15 +125,15 @@ if (process.argv[2] === 'child') { } else { // By default, uncaught exceptions make node exit with an exit // code of 7. - assert.equal(exitCode, 7); - assert.equal(signal, null); + assert.strictEqual(exitCode, 7); + assert.strictEqual(signal, null); } } else { // If the top-level domain's error handler does not throw, // the process must exit gracefully, whether or not // --abort_on_uncaught_exception was passed on the command line - assert.equal(exitCode, 0); - assert.equal(signal, null); + assert.strictEqual(exitCode, 0); + assert.strictEqual(signal, null); } }); }