Permalink
Browse files

[test] Assert that port 80 is mapped to first available

  • Loading branch information...
1 parent 28cd52b commit 8c50dc6e515781222456e8353640c790ce86f50f @mmalecki mmalecki committed Aug 7, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 test/net/errors-test.js
View
@@ -55,6 +55,7 @@ vows.describe('carapace/net/dolisten').addBatch({
info.events.forEach(function (event, index) {
assert.equal(event.info.addr, '0.0.0.0');
assert.equal(event.info.desired, 80);
+ assert.equal(event.info.port, 1024);
});
}
}

0 comments on commit 8c50dc6

Please sign in to comment.