summaryrefslogtreecommitdiffhomepage
path: root/test/node/mirror/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/node/mirror/app.js')
-rwxr-xr-xtest/node/mirror/app.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/node/mirror/app.js b/test/node/mirror/app.js
index abcb87cb..1488917e 100755
--- a/test/node/mirror/app.js
+++ b/test/node/mirror/app.js
@@ -6,7 +6,7 @@ require('unit-http').createServer(function (req, res) {
body += chunk.toString();
});
req.on('end', () => {
- res.writeHead(200, {'Content-Length': Buffer.byteLength(body)});
- res.end(body);
+ res.writeHead(200, {'Content-Length': Buffer.byteLength(body)})
+ .end(body);
});
}).listen(7080);