Skip to content

Commit

Permalink
test: use strictEqual instead of equal
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
uttampawar authored and Fishrock123 committed Dec 6, 2016
1 parent 2e36b2e commit c0eb08a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/parallel/test-debugger-util-regression.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
});

0 comments on commit c0eb08a

Please sign in to comment.