From f73ee94d4f595c2b2025e1133bc9f20a16f50ae9 Mon Sep 17 00:00:00 2001 From: isaacs Date: Thu, 15 Aug 2013 17:39:28 -0700 Subject: [PATCH] test: Remove hard-coded port --- test/simple/test-http-raw-headers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'