From 7c39f66daa4d428a65d5f698fa9e3ec347ff8eac Mon Sep 17 00:00:00 2001 From: CodeVana Date: Thu, 1 Dec 2016 08:22:36 -0800 Subject: [PATCH] test: improve domain-top-level-error-handler-throw Use assert.strictEqual instead of assert.equal. PR-URL: https://github.com/nodejs/node/pull/9950 Reviewed-By: James M Snell Reviewed-By: Colin Ihrig Reviewed-By: Rich Trott --- test/parallel/test-domain-top-level-error-handler-throw.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-domain-top-level-error-handler-throw.js b/test/parallel/test-domain-top-level-error-handler-throw.js index c98dfc3f1f1b7b..b65b94012393c6 100644 --- a/test/parallel/test-domain-top-level-error-handler-throw.js +++ b/test/parallel/test-domain-top-level-error-handler-throw.js @@ -48,8 +48,8 @@ if (process.argv[2] === 'child') { var expectedExitCode = 7; var expectedSignal = null; - assert.equal(exitCode, expectedExitCode); - assert.equal(signal, expectedSignal); + assert.strictEqual(exitCode, expectedExitCode); + assert.strictEqual(signal, expectedSignal); }); } }