aboutsummaryrefslogtreecommitdiff
path: root/test/parallel/test-child-process-disconnect.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-child-process-disconnect.js')
-rw-r--r--test/parallel/test-child-process-disconnect.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-child-process-disconnect.js b/test/parallel/test-child-process-disconnect.js
index 5d9a379c69..503ba906e7 100644
--- a/test/parallel/test-child-process-disconnect.js
+++ b/test/parallel/test-child-process-disconnect.js
@@ -78,7 +78,7 @@ if (process.argv[2] === 'child') {
}));
// the process should also self terminate without using signals
- child.on('exit', common.mustCall(function() {}));
+ child.on('exit', common.mustCall());
// when child is listening
child.on('message', function(obj) {