test: update pummel/test-exec

ChildProcess.prototype._internal is called ChildProcess.prototype._handle now.
pull/24503/head
Ben Noordhuis 2012-05-31 01:46:53 +02:00
parent dc8b488bbe
commit b337577cf1
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ process.nextTick(function() {
console.log('kill pid %d', killMeTwice.pid);
// make sure there is no race condition in starting the process
// the PID SHOULD exist directly following the exec() call.
assert.equal('number', typeof killMeTwice._internal.pid);
assert.equal('number', typeof killMeTwice._handle.pid);
// Kill the process
killMeTwice.kill();
});