summaryrefslogtreecommitdiffhomepage
path: root/test/node/double_end
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xtest/node/double_end/app.js3
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);