summaryrefslogtreecommitdiffhomepage
path: root/test/node/write_before_write_head
diff options
context:
space:
mode:
Diffstat (limited to 'test/node/write_before_write_head')
-rw-r--r--[-rwxr-xr-x]test/node/write_before_write_head/app.js3
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 724b0efb..2293111a 100755..100644
--- a/test/node/write_before_write_head/app.js
+++ b/test/node/write_before_write_head/app.js
@@ -1,6 +1,5 @@
-#!/usr/bin/env node
-require('unit-http').createServer(function (req, res) {
+require('http').createServer(function (req, res) {
res.write('blah');
res.writeHead(200, {'Content-Type': 'text/plain'}).end();
}).listen(7080);