diff --git a/test/simple/test-http-raw-headers.js b/test/simple/test-http-raw-headers.js index bb34b9dce2..a65c106489 100644 --- a/test/simple/test-http-raw-headers.js +++ b/test/simple/test-http-raw-headers.js @@ -28,7 +28,7 @@ http.createServer(function(req, res) { this.close(); var expectRawHeaders = [ 'Host', - 'localhost:12346', + 'localhost:' + common.PORT, 'transfer-ENCODING', 'CHUNKED', 'x-BaR', @@ -37,7 +37,7 @@ http.createServer(function(req, res) { 'keep-alive' ]; var expectHeaders = { - host: 'localhost:12346', + host: 'localhost:' + common.PORT, 'transfer-encoding': 'CHUNKED', 'x-bar': 'yoyoyo', connection: 'keep-alive'