summaryrefslogtreecommitdiff
path: root/test/parallel/test-child-process-exec-maxBuffer.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-child-process-exec-maxBuffer.js')
-rw-r--r--test/parallel/test-child-process-exec-maxBuffer.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-child-process-exec-maxBuffer.js b/test/parallel/test-child-process-exec-maxBuffer.js
index 65674a8503..d23e8b9094 100644
--- a/test/parallel/test-child-process-exec-maxBuffer.js
+++ b/test/parallel/test-child-process-exec-maxBuffer.js
@@ -32,11 +32,11 @@ const unicode = '中文测试'; // length = 4, byte length = 12
{
const cmd = `"${process.execPath}" -e "console.log('${unicode}');"`;
- cp.exec(cmd, {maxBuffer: 10}, checkFactory('stdout'));
+ cp.exec(cmd, { maxBuffer: 10 }, checkFactory('stdout'));
}
{
const cmd = `"${process.execPath}" -e "console.('${unicode}');"`;
- cp.exec(cmd, {maxBuffer: 10}, checkFactory('stderr'));
+ cp.exec(cmd, { maxBuffer: 10 }, checkFactory('stderr'));
}