diff options
Diffstat (limited to 'test/parallel/test-http-response-no-headers.js')
-rw-r--r-- | test/parallel/test-http-response-no-headers.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/parallel/test-http-response-no-headers.js b/test/parallel/test-http-response-no-headers.js index bfd74e1749..87b0f8e67f 100644 --- a/test/parallel/test-http-response-no-headers.js +++ b/test/parallel/test-http-response-no-headers.js @@ -33,8 +33,7 @@ const expected = { function test(httpVersion, callback) { const server = net.createServer(function(conn) { - const reply = 'HTTP/' + httpVersion + ' 200 OK\r\n\r\n' + - expected[httpVersion]; + const reply = `HTTP/${httpVersion} 200 OK\r\n\r\n${expected[httpVersion]}`; conn.end(reply); }); |