Browse files

fixing the unit test again.

  • Loading branch information...
1 parent 58e5ecb commit 40001b07cdcf3814a0459de49cf25a4a41f4d81f Joachim Kainz committed Jun 28, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 test/htmlcompiler.test.js
View
8 test/htmlcompiler.test.js
@@ -100,8 +100,8 @@
result.contenttype = true;
},
- writeHead: function() {
- // nothing
+ writeHead: function(status, header) {
+ result.contenttype = header["Content-Type"];
}
}, function (err) {
self.callback(err);
@@ -130,8 +130,8 @@
result.contenttype = true;
},
- writeHead: function() {
- // nothing
+ writeHead: function(status, header) {
+ result.contenttype = header["Content-Type"];
}
}, function (err) {
self.callback(err);

0 comments on commit 40001b0

Please sign in to comment.