Skip to content

Commit c0eb08a

Browse files
uttampawarFishrock123
authored andcommitted
test: use strictEqual instead of equal
PR-URL: #9921 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 2e36b2e commit c0eb08a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/parallel/test-debugger-util-regression.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ proc.stdout.on('data', (data) => {
4646
proc.stderr.on('data', (data) => stderr += data);
4747

4848
process.on('exit', (code) => {
49-
assert.equal(code, 0, 'the program should exit cleanly');
50-
assert.equal(stdout.includes('{ a: \'b\' }'), true,
51-
'the debugger should print the result of util.inspect');
52-
assert.equal(stderr, '', 'stderr should be empty');
49+
assert.strictEqual(code, 0, 'the program should exit cleanly');
50+
assert.strictEqual(stdout.includes('{ a: \'b\' }'), true,
51+
'the debugger should print the result of util.inspect');
52+
assert.strictEqual(stderr, '', 'stderr should be empty');
5353
});

0 commit comments

Comments
 (0)