summaryrefslogtreecommitdiffhomepage
path: root/test/node/variables/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/node/variables/app.js')
-rwxr-xr-xtest/node/variables/app.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/node/variables/app.js b/test/node/variables/app.js
index 4ed94d09..d8cdc20c 100755
--- a/test/node/variables/app.js
+++ b/test/node/variables/app.js
@@ -14,7 +14,6 @@ require('unit-http').createServer(function (req, res) {
res.setHeader('Content-Type', req.headers['content-type']);
res.setHeader('Custom-Header', req.headers['custom-header']);
res.setHeader('Http-Host', req.headers['host']);
- res.writeHead(200, {});
- res.end(body);
+ res.writeHead(200, {}).end(body);
});
}).listen(7080);