Skip to content

Commit 2beba9e

Browse files
kingnebbyFishrock123
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 <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 64b2494 commit 2beba9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
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)