Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
test: refactor asyncs-hooks/test-httparser tests
Modification of the file test-httpparser.request.js to have the
string literals \r\n to be included in the string literal
of line 22 and not concatenated to remove errors and hopefully
pass the tests.
  • Loading branch information
Runite618 committed Aug 14, 2017
commit a9c22d9ad95852512e4bfb5ea87582188ae8d00b
2 changes: 1 addition & 1 deletion test/async-hooks/test-httpparser.request.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const hooks = initHooks();
hooks.enable();

const request = Buffer.from(
'GET /hello HTTP/1.1' + '\r\n' + '\r\n'
'GET /hello HTTP/1.1\r\n\r\n'
);

const parser = new HTTPParser(REQUEST);
Expand Down