From 27ec693a53fca35b787d4bae4cbb3ad22fee31bc Mon Sep 17 00:00:00 2001 From: Beth Griggs Date: Sat, 12 Aug 2017 13:04:46 +0100 Subject: [PATCH] test: add missing console.error to exec-maxBuffer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds the missing console.error to test-child-process-exec-maxBuffer PR-URL: https://github.com/nodejs/node/pull/14796 Reviewed-By: Anna Henningsen Reviewed-By: Vse Mozhet Byt Reviewed-By: Gibson Fahnestock Reviewed-By: David Cai Reviewed-By: Colin Ihrig Reviewed-By: Rich Trott Reviewed-By: Alexey Orlenko Reviewed-By: Tobias Nießen --- test/parallel/test-child-process-exec-maxBuffer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-child-process-exec-maxBuffer.js b/test/parallel/test-child-process-exec-maxBuffer.js index 65674a8503c3d2..2c585abcdf82a8 100644 --- a/test/parallel/test-child-process-exec-maxBuffer.js +++ b/test/parallel/test-child-process-exec-maxBuffer.js @@ -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')); }