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 MylesBorins committed Dec 20, 2016
1 parent 1e53cf4 commit 70b4d7d
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 70b4d7d

Please sign in to comment.