Skip to content
Closed
Changes from all commits
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
test: simplify string concatenation
Replace string concatenation with template literals.
Updated `test/parallel/test-http-multi-line-headers.js`
  • Loading branch information
jiangplus committed Jul 16, 2017
commit 9fa678513a3f5e6a95e5d30b1ce26f8670761c6c
2 changes: 1 addition & 1 deletion test/parallel/test-http-multi-line-headers.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const server = net.createServer(function(conn) {
const response =
'HTTP/1.1 200 OK\r\n' +
'Connection: close\r\n' +
'Content-Length: ' + body.length + '\r\n' +
`Content-Length: ${body.length}\r\n` +
'Content-Type: text/plain;\r\n' +
' x-unix-mode=0600;\r\n' +
' name="hello.txt"\r\n' +
Expand Down