Skip to content

Commit

Permalink
force
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Nov 2, 2017
1 parent d9be98a commit 96bc09f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/server.js
Expand Up @@ -234,11 +234,10 @@ function rawrequest(app) {
function expect(status, body, callback) {
server.listen(function(){
var addr = this.address();
var hostname = addr.family === 'IPv6' ? '::1' : '127.0.0.1';
var port = addr.port;

var req = http.get({
host: hostname,
host: '127.0.0.1',
path: _path,
port: port
});
Expand Down

0 comments on commit 96bc09f

Please sign in to comment.