summaryrefslogtreecommitdiffhomepage
path: root/test/node/write_buffer/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/node/write_buffer/app.js')
-rw-r--r--[-rwxr-xr-x]test/node/write_buffer/app.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/node/write_buffer/app.js b/test/node/write_buffer/app.js
index a7623523..506e8613 100755..100644
--- a/test/node/write_buffer/app.js
+++ b/test/node/write_buffer/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(new Buffer([0x62, 0x75, 0x66, 0x66, 0x65, 0x72]));
}).listen(7080);