mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 21:58:48 +02:00
test: fix redeclared test-http-* vars
PR-URL: https://github.com/nodejs/node/pull/4987 Reviewed-By: Michaël Zasso <mic.besace@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Roman Klauke <romaaan.git@gmail.com>
This commit is contained in:
parent
754bcff73e
commit
463aa196cc
3 changed files with 11 additions and 21 deletions
|
@ -260,7 +260,7 @@ function expectBody(expected) {
|
|||
assert.equal(versionMajor, 1);
|
||||
assert.equal(versionMinor, 0);
|
||||
|
||||
var headers = headers || parser.headers;
|
||||
headers = headers || parser.headers;
|
||||
|
||||
assert.equal(headers.length, 2 * 256); // 256 key/value pairs
|
||||
for (var i = 0; i < headers.length; i += 2) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue