Skip to content

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: #14796
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: David Cai <davidcai1993@yahoo.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
  • Loading branch information
BethGriggs authored and MylesBorins committed Sep 20, 2017
1 parent a284ee6 commit 4fb4fbe
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 @@ -25,7 +25,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 4fb4fbe

Please sign in to comment.