summaryrefslogtreecommitdiff
path: root/test/pummel/test-exec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/pummel/test-exec.js')
-rw-r--r--test/pummel/test-exec.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/pummel/test-exec.js b/test/pummel/test-exec.js
index 29852528ee..e6e88f53e1 100644
--- a/test/pummel/test-exec.js
+++ b/test/pummel/test-exec.js
@@ -90,7 +90,8 @@ exec(SLEEP3_COMMAND, { timeout: 50 }, function(err, stdout, stderr) {
const startSleep3 = new Date();
-const killMeTwice = exec(SLEEP3_COMMAND, {timeout: 1000}, killMeTwiceCallback);
+const killMeTwice = exec(SLEEP3_COMMAND, { timeout: 1000 },
+ killMeTwiceCallback);
process.nextTick(function() {
console.log('kill pid %d', killMeTwice.pid);
@@ -117,7 +118,7 @@ function killMeTwiceCallback(err, stdout, stderr) {
}
-exec('python -c "print 200000*\'C\'"', {maxBuffer: 1000},
+exec('python -c "print 200000*\'C\'"', { maxBuffer: 1000 },
function(err, stdout, stderr) {
assert.ok(err);
assert.ok(/maxBuffer/.test(err.message));