Browse Source

test: add ChildProcess.prototype.killed test case

v0.7.4-release
Ben Noordhuis 13 years ago
parent
commit
c8646e0c41
  1. 2
      test/simple/test-child-process-kill.js

2
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);

Loading…
Cancel
Save