diff --git a/test/simple/test-child-process-kill.js b/test/simple/test-child-process-kill.js index 05599f48d2..1522367ef8 100644 --- a/test/simple/test-child-process-kill.js +++ b/test/simple/test-child-process-kill.js @@ -58,7 +58,9 @@ cat.on('exit', function(code, signal) { termSignal = signal; }); +assert.equal(cat.killed, false); cat.kill(); +assert.equal(cat.killed, true); process.on('exit', function() { assert.strictEqual(exitCode, null);