From 9c272e80553f9ba853e894c913e61a86937c972d Mon Sep 17 00:00:00 2001 From: Uttam Pawar Date: Thu, 1 Dec 2016 08:19:10 -0800 Subject: [PATCH] test: use strictEqual instead of equal PR-URL: https://github.com/nodejs/node/pull/9921 Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: James M Snell --- test/parallel/test-debugger-util-regression.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/parallel/test-debugger-util-regression.js b/test/parallel/test-debugger-util-regression.js index 6378ea3e9b171c..07e52545814b14 100644 --- a/test/parallel/test-debugger-util-regression.js +++ b/test/parallel/test-debugger-util-regression.js @@ -46,8 +46,8 @@ proc.stdout.on('data', (data) => { proc.stderr.on('data', (data) => stderr += data); process.on('exit', (code) => { - assert.equal(code, 0, 'the program should exit cleanly'); - assert.equal(stdout.includes('{ a: \'b\' }'), true, - 'the debugger should print the result of util.inspect'); - assert.equal(stderr, '', 'stderr should be empty'); + assert.strictEqual(code, 0, 'the program should exit cleanly'); + assert.strictEqual(stdout.includes('{ a: \'b\' }'), true, + 'the debugger should print the result of util.inspect'); + assert.strictEqual(stderr, '', 'stderr should be empty'); });