Skip to content

Commit 4fb4fbe

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 a284ee6 commit 4fb4fbe

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
@@ -25,7 +25,7 @@ const unicode = '中文测试'; // length = 4, byte length = 12
2525
}
2626

2727
{
28-
const cmd = `"${process.execPath}" -e "console.('${unicode}');"`;
28+
const cmd = `"${process.execPath}" -e "console.error('${unicode}');"`;
2929

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

0 commit comments

Comments
 (0)