Browse Source

Fix #3448 Use listen callback in test-regress-GH-1697

v0.9.1-release
isaacs 13 years ago
parent
commit
e74a733024
  1. 6
      test/simple/test-regress-GH-1697.js

6
test/simple/test-regress-GH-1697.js

@ -36,9 +36,11 @@ if (process.argv[2] === 'server') {
server.close(); server.close();
}); });
}); });
server.listen(1234, '127.0.0.1');
console.log('Server running.'); server.listen(1234, '127.0.0.1', function() {
console.log('Server running.');
});
} else { } else {
// Client // Client

Loading…
Cancel
Save