Skip to content

Commit 27ec693

Browse files
BethGriggsMylesBorins
authored andcommitted
test: add missing console.error to exec-maxBuffer
Adds the missing console.error to test-child-process-exec-maxBuffer PR-URL: #14796 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: David Cai <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Alexey Orlenko <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
1 parent 9da6c10 commit 27ec693

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-child-process-exec-maxBuffer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const unicode = '中文测试'; // length = 4, byte length = 12
3636
}
3737

3838
{
39-
const cmd = `"${process.execPath}" -e "console.('${unicode}');"`;
39+
const cmd = `"${process.execPath}" -e "console.error('${unicode}');"`;
4040

4141
cp.exec(cmd, {maxBuffer: 10}, checkFactory('stderr'));
4242
}

0 commit comments

Comments
 (0)