diff options
Diffstat (limited to 'test/node/write_before_write_head/app.js')
-rwxr-xr-x | test/node/write_before_write_head/app.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/node/write_before_write_head/app.js b/test/node/write_before_write_head/app.js index 6e3fb9a9..724b0efb 100755 --- a/test/node/write_before_write_head/app.js +++ b/test/node/write_before_write_head/app.js @@ -2,6 +2,5 @@ require('unit-http').createServer(function (req, res) { res.write('blah'); - res.writeHead(200, {'Content-Type': 'text/plain'}); - res.end(); + res.writeHead(200, {'Content-Type': 'text/plain'}).end(); }).listen(7080); |