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 addaleax committed Dec 8, 2016
1 parent baa0adf commit 3b765cb
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 3b765cb

Please sign in to comment.