diff options
Diffstat (limited to 'test/node/double_end/app.js')
-rwxr-xr-x | test/node/double_end/app.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/node/double_end/app.js b/test/node/double_end/app.js index d8280917..63912097 100755 --- a/test/node/double_end/app.js +++ b/test/node/double_end/app.js @@ -1,6 +1,5 @@ #!/usr/bin/env node require('unit-http').createServer(function (req, res) { - res.end(); - res.end(); + res.end().end(); }).listen(7080); |