Browse Source

test: Use 'close' event in simple/test-repl-timeout-throw

v0.11.0-release
isaacs 12 years ago
parent
commit
2eb847849f
  1. 2
      test/simple/test-repl-timeout-throw.js

2
test/simple/test-repl-timeout-throw.js

@ -69,7 +69,7 @@ child.stdout.once('data', function() {
}
});
child.on('exit', function(c) {
child.on('close', function(c) {
assert(!c);
// make sure we got 3 throws, in the end.
var lastLine = stdout.trim().split(/\r?\n/).pop();

Loading…
Cancel
Save