Skip to content

Commit

Permalink
test: refactor test-child-process-double-pipe
Browse files Browse the repository at this point in the history
Update test to use strictEqual instead of equal to remove error.

PR-URL: #9930
Reviewed-By: Prince John Wesley <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
kingnebby authored and Fishrock123 committed Dec 6, 2016
1 parent 64b2494 commit 2beba9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-child-process-double-pipe.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,5 @@ sed.stdout.on('data', function(data) {
});

sed.stdout.on('end', function(code) {
assert.equal(result, 'hellO' + os.EOL + 'nOde' + os.EOL + 'wOrld' + os.EOL);
assert.strictEqual(result, `hellO${os.EOL}nOde${os.EOL}wOrld${os.EOL}`);
});

0 comments on commit 2beba9e

Please sign in to comment.