diff options
Diffstat (limited to '')
-rwxr-xr-x | test/node/404/app.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/node/404/app.js b/test/node/404/app.js index 9600d486..587c432d 100755 --- a/test/node/404/app.js +++ b/test/node/404/app.js @@ -3,6 +3,5 @@ var fs = require('fs'); require('unit-http').createServer(function (req, res) { - res.writeHead(404, {}); - res.end(fs.readFileSync('404.html')); + res.writeHead(404, {}).end(fs.readFileSync('404.html')); }).listen(7080); |