diff --git a/test/parallel/test-http-server-headers-timeout-delayed-headers.js b/test/parallel/test-http-server-headers-timeout-delayed-headers.js index 844dfebdd8c5de..652969ae324cdf 100644 --- a/test/parallel/test-http-server-headers-timeout-delayed-headers.js +++ b/test/parallel/test-http-server-headers-timeout-delayed-headers.js @@ -55,10 +55,12 @@ server.listen(0, common.mustCall(() => { sendDelayedRequestHeaders = common.mustCall(() => { setTimeout(() => { - client.write('POST / HTTP/1.1\r\n'); - client.write('Content-Length: 20\r\n'); - client.write('Connection: close\r\n\r\n'); - client.write('12345678901234567890\r\n\r\n'); + client.write( + 'POST / HTTP/1.1\r\n' + + 'Content-Length: 20\r\n' + + 'Connection: close\r\n\r\n' + + '12345678901234567890\r\n\r\n' + ); }, common.platformTimeout(headersTimeout * 2)).unref(); }); })); diff --git a/test/parallel/test-http-server-headers-timeout-interrupted-headers.js b/test/parallel/test-http-server-headers-timeout-interrupted-headers.js index 790e98499f9529..863057dc2819f5 100644 --- a/test/parallel/test-http-server-headers-timeout-interrupted-headers.js +++ b/test/parallel/test-http-server-headers-timeout-interrupted-headers.js @@ -52,9 +52,11 @@ server.listen(0, common.mustCall(() => { })); client.resume(); - client.write('GET / HTTP/1.1\r\n'); - client.write('Connection: close\r\n'); - client.write('X-CRASH: '); + client.write( + 'GET / HTTP/1.1\r\n' + + 'Connection: close\r\n' + + 'X-CRASH: ' + ); sendDelayedRequestHeaders = common.mustCall(() => { setTimeout(() => { diff --git a/test/parallel/test-http-server-request-timeout-delayed-body.js b/test/parallel/test-http-server-request-timeout-delayed-body.js index 053b4f849b6191..2bc6b55a6fcb76 100644 --- a/test/parallel/test-http-server-request-timeout-delayed-body.js +++ b/test/parallel/test-http-server-request-timeout-delayed-body.js @@ -59,11 +59,12 @@ server.listen(0, common.mustCall(() => { })); client.resume(); - client.write('POST / HTTP/1.1\r\n'); - client.write('Host: example.com\r\n'); - client.write('Content-Length: 20\r\n'); - client.write('Connection: close\r\n'); - client.write('\r\n'); + client.write( + 'POST / HTTP/1.1\r\n' + + 'Host: example.com\r\n' + + 'Content-Length: 20\r\n' + + 'Connection: close\r\n\r\n' + ); sendDelayedRequestBody = common.mustCall(() => { setTimeout(() => { diff --git a/test/parallel/test-http-server-request-timeout-delayed-headers.js b/test/parallel/test-http-server-request-timeout-delayed-headers.js index 5176adc8e5a249..e0d4945ec927e1 100644 --- a/test/parallel/test-http-server-request-timeout-delayed-headers.js +++ b/test/parallel/test-http-server-request-timeout-delayed-headers.js @@ -50,10 +50,12 @@ server.listen(0, common.mustCall(() => { sendDelayedRequestHeaders = common.mustCall(() => { setTimeout(() => { - client.write('POST / HTTP/1.1\r\n'); - client.write('Content-Length: 20\r\n'); - client.write('Connection: close\r\n\r\n'); - client.write('12345678901234567890\r\n\r\n'); + client.write( + 'POST / HTTP/1.1\r\n' + + 'Content-Length: 20\r\n' + + 'Connection: close\r\n\r\n' + + '12345678901234567890\r\n\r\n' + ); }, common.platformTimeout(requestTimeout * 2)).unref(); }); })); diff --git a/test/parallel/test-http-server-request-timeout-interrupted-body.js b/test/parallel/test-http-server-request-timeout-interrupted-body.js index 02d81d7bb7d8be..97e0a21d53d747 100644 --- a/test/parallel/test-http-server-request-timeout-interrupted-body.js +++ b/test/parallel/test-http-server-request-timeout-interrupted-body.js @@ -59,12 +59,13 @@ server.listen(0, common.mustCall(() => { })); client.resume(); - client.write('POST / HTTP/1.1\r\n'); - client.write('Host: example.com\r\n'); - client.write('Content-Length: 20\r\n'); - client.write('Connection: close\r\n'); - client.write('\r\n'); - client.write('1234567890'); + client.write( + 'POST / HTTP/1.1\r\n' + + 'Host: example.com\r\n' + + 'Content-Length: 20\r\n' + + 'Connection: close\r\n\r\n' + + '1234567890' + ); sendDelayedRequestBody = common.mustCall(() => { setTimeout(() => { diff --git a/test/parallel/test-http-server-request-timeout-interrupted-headers.js b/test/parallel/test-http-server-request-timeout-interrupted-headers.js index 856f45d8e117e4..752156ed0ed9da 100644 --- a/test/parallel/test-http-server-request-timeout-interrupted-headers.js +++ b/test/parallel/test-http-server-request-timeout-interrupted-headers.js @@ -47,9 +47,11 @@ server.listen(0, common.mustCall(() => { })); client.resume(); - client.write('GET / HTTP/1.1\r\n'); - client.write('Connection: close\r\n'); - client.write('X-CRASH: '); + client.write( + 'GET / HTTP/1.1\r\n' + + 'Connection: close\r\n' + + 'X-CRASH: ' + ); sendDelayedRequestHeaders = common.mustCall(() => { setTimeout(() => {