Browse Source

test: fix logic error in test-net-remote-address-port.js

The test intended to register an 'at exit' listener
but called `process.exit()` instead.
v0.7.4-release
Ben Noordhuis 14 years ago
parent
commit
f52a8db280
  1. 4
      test/simple/test-net-remote-address-port.js

4
test/simple/test-net-remote-address-port.js

@ -28,6 +28,6 @@ server.listen(common.PORT, 'localhost', function() {
});
});
process.exit(function() {
process.on('exit', function() {
assert.equal(2, conns);
});
});

Loading…
Cancel
Save