Skip to content

Commit 70b4d7d

Browse files
kingnebbyMylesBorins
authored andcommitted
test: refactor test-child-process-double-pipe
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>
1 parent 1e53cf4 commit 70b4d7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-child-process-double-pipe.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,5 +91,5 @@ sed.stdout.on('data', function(data) {
9191
});
9292

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

0 commit comments

Comments
 (0)