Browse Source

test: Remove hard-coded port

v0.11.6-release
isaacs 12 years ago
parent
commit
f73ee94d4f
  1. 4
      test/simple/test-http-raw-headers.js

4
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'

Loading…
Cancel
Save