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 <princejohnwesley@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
kingnebby authored and jasnell committed Dec 5, 2016
1 parent be1f52b commit a6ab607
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 a6ab607

Please sign in to comment.