From 9fc0936d6649cab3c769813e545be42dc3c0243b Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sat, 16 Jul 2016 14:14:07 -0700 Subject: [PATCH] test: ensure callback runs in test-vm-sigint --- test/parallel/test-vm-sigint.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-vm-sigint.js b/test/parallel/test-vm-sigint.js index 5260a8464f1da8..11497733ce7eb1 100644 --- a/test/parallel/test-vm-sigint.js +++ b/test/parallel/test-vm-sigint.js @@ -33,7 +33,7 @@ process.on('SIGUSR2', common.mustCall(() => { process.kill(child.pid, 'SIGINT'); })); -child.on('close', function(code, signal) { +child.on('close', common.mustCall((code, signal) => { assert.strictEqual(signal, null); assert.strictEqual(code, 0); -}); +}));