From 3c5160c583fcc54e597bc0bbf194a0c1c07cc616 Mon Sep 17 00:00:00 2001 From: Vipin Menon Date: Fri, 10 Nov 2017 12:00:09 +0530 Subject: [PATCH] test: enable mustCall() during child exit --- test/parallel/test-process-raw-debug.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-process-raw-debug.js b/test/parallel/test-process-raw-debug.js index 7b89a8ad18eda7..6f989e123e8916 100644 --- a/test/parallel/test-process-raw-debug.js +++ b/test/parallel/test-process-raw-debug.js @@ -50,10 +50,10 @@ function parent() { console.log('ok - got expected message'); }); - child.on('exit', function(c) { + child.on('exit', common.mustCall(function(c) { assert(!c); console.log('ok - child exited nicely'); - }); + })); } function child() {