summaryrefslogtreecommitdiff
path: root/test/parallel/test-child-process-spawn-error.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-child-process-spawn-error.js')
-rw-r--r--test/parallel/test-child-process-spawn-error.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/parallel/test-child-process-spawn-error.js b/test/parallel/test-child-process-spawn-error.js
index fe279dc6e5..1398dac165 100644
--- a/test/parallel/test-child-process-spawn-error.js
+++ b/test/parallel/test-child-process-spawn-error.js
@@ -1,3 +1,4 @@
+'use strict';
var common = require('../common');
var fs = require('fs');
var spawn = require('child_process').spawn;
@@ -10,7 +11,7 @@ var spawnargs = ['bar'];
assert.equal(common.fileExists(enoentPath), false);
var enoentChild = spawn(enoentPath, spawnargs);
-enoentChild.on('error', function (err) {
+enoentChild.on('error', function(err) {
assert.equal(err.code, 'ENOENT');
assert.equal(err.errno, 'ENOENT');
assert.equal(err.syscall, 'spawn ' + enoentPath);