summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2013-08-15 17:39:28 -0700
committerisaacs <i@izs.me>2013-08-15 17:39:28 -0700
commitf73ee94d4f595c2b2025e1133bc9f20a16f50ae9 (patch)
treee275ebc700a3b46c327ded95598a80c63608c34e
parentd70e6491ae2c52c424369deb586276cd5857c66e (diff)
downloadnode-f73ee94d4f595c2b2025e1133bc9f20a16f50ae9.tar.gz
test: Remove hard-coded port
-rw-r--r--test/simple/test-http-raw-headers.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/simple/test-http-raw-headers.js b/test/simple/test-http-raw-headers.js
index bb34b9dce..a65c10648 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'