summaryrefslogtreecommitdiff
path: root/test/parallel/test-http-client-reject-cr-no-lf.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-http-client-reject-cr-no-lf.js')
-rw-r--r--test/parallel/test-http-client-reject-cr-no-lf.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-http-client-reject-cr-no-lf.js b/test/parallel/test-http-client-reject-cr-no-lf.js
index b60220cbb6..350d7f40e9 100644
--- a/test/parallel/test-http-client-reject-cr-no-lf.js
+++ b/test/parallel/test-http-client-reject-cr-no-lf.js
@@ -16,7 +16,7 @@ const server = net.createServer((socket) => {
server.listen(common.PORT, () => {
// The callback should not be called because the server is sending a
// header field that ends only in \r with no following \n
- const req = http.get({port:common.PORT}, (res) => {
+ const req = http.get({port: common.PORT}, (res) => {
assert.fail(null, null, 'callback should not be called');
});
req.on('error', common.mustCall((err) => {