summaryrefslogtreecommitdiffhomepage
path: root/test/node/write_return/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/node/write_return/app.js')
-rw-r--r--[-rwxr-xr-x]test/node/write_return/app.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/node/write_return/app.js b/test/node/write_return/app.js
index 82dfbc6e..345b6c4b 100755..100644
--- a/test/node/write_return/app.js
+++ b/test/node/write_return/app.js
@@ -1,6 +1,5 @@
-#!/usr/bin/env node
-require('unit-http').createServer(function (req, res) {
+require('http').createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'})
.end(res.write('body').toString());
}).listen(7080);