diff options
Diffstat (limited to 'test/parallel/test-http-parser-bad-ref.js')
-rw-r--r-- | test/parallel/test-http-parser-bad-ref.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-http-parser-bad-ref.js b/test/parallel/test-http-parser-bad-ref.js index aca94361b4..5b002b2ce0 100644 --- a/test/parallel/test-http-parser-bad-ref.js +++ b/test/parallel/test-http-parser-bad-ref.js @@ -25,7 +25,7 @@ function flushPool() { function demoBug(part1, part2) { flushPool(); - const parser = new HTTPParser(0); + const parser = new HTTPParser(HTTPParser.REQUEST); parser.headers = []; parser.url = ''; |