aboutsummaryrefslogtreecommitdiff
path: root/test/parallel/test-cluster-eaccess.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-cluster-eaccess.js')
-rw-r--r--test/parallel/test-cluster-eaccess.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-cluster-eaccess.js b/test/parallel/test-cluster-eaccess.js
index 0a7f7055ea..fa5b8077de 100644
--- a/test/parallel/test-cluster-eaccess.js
+++ b/test/parallel/test-cluster-eaccess.js
@@ -35,10 +35,10 @@ if (cluster.isMaster) {
const worker = cluster.fork();
// makes sure master is able to fork the worker
- cluster.on('fork', common.mustCall(function() {}));
+ cluster.on('fork', common.mustCall());
// makes sure the worker is ready
- worker.on('online', common.mustCall(function() {}));
+ worker.on('online', common.mustCall());
worker.on('message', common.mustCall(function(err) {
// disconnect first, so that we will not leave zombies