Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
test: add missing console.error to exec-maxBuffer
Browse files Browse the repository at this point in the history
Adds the missing console.error to test-child-process-exec-maxBuffer

PR-URL: nodejs/node#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]>
  • Loading branch information
BethGriggs authored and MSLaguana committed Aug 21, 2017
1 parent 0da2820 commit e44983b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-child-process-exec-maxBuffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const unicode = '中文测试'; // length = 4, byte length = 12
}

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

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

0 comments on commit e44983b

Please sign in to comment.