summaryrefslogtreecommitdiff
path: root/test/parallel/test-child-process-fork-ref2.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-child-process-fork-ref2.js')
-rw-r--r--test/parallel/test-child-process-fork-ref2.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-child-process-fork-ref2.js b/test/parallel/test-child-process-fork-ref2.js
index f114170630..f34d67ee17 100644
--- a/test/parallel/test-child-process-fork-ref2.js
+++ b/test/parallel/test-child-process-fork-ref2.js
@@ -29,7 +29,7 @@ if (process.argv[2] === 'child') {
setTimeout(function() {
console.log('child -> will this keep it alive?');
- process.on('message', common.noop);
+ process.on('message', common.mustNotCall());
}, 400);
} else {