Skip to content

Commit 407eb6f

Browse files
vipinmenonevanlucas
authored andcommitted
test: enable mustCall() during child exit
PR-URL: #16915 Reviewed-By: Khaidi Chu <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: Franziska Hinkelmann <[email protected]>
1 parent 31dadd2 commit 407eb6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-process-raw-debug.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ function parent() {
5050
console.log('ok - got expected message');
5151
});
5252

53-
child.on('exit', function(c) {
53+
child.on('exit', common.mustCall(function(c) {
5454
assert(!c);
5555
console.log('ok - child exited nicely');
56-
});
56+
}));
5757
}
5858

5959
function child() {

0 commit comments

Comments
 (0)