Skip to content
Browse files

make the write test fail by adding a doctype

  • Loading branch information...
1 parent e53a40d commit cdd289fdc10152d4d8829a5f59716d43bc1a4ca1 @substack committed Jul 10, 2013
Showing with 4 additions and 1 deletion.
  1. +1 −0 test/write_stream.html
  2. +3 −1 test/write_stream.js
View
1 test/write_stream.html
@@ -1,3 +1,4 @@
+<!doctype html>
<html>
<body>
<div class="x">replace <b>me</b></div>
View
4 test/write_stream.js
@@ -47,7 +47,9 @@ test('write stream', function (t) {
tr.pipe(concat(function (body) {
t.equal(
body.toString(),
- '<html>\n<body>\n<div class="x">beep boop.</div>\n</body>\n</html>\n'
+ '<!doctype html>'
+ + '<html>\n<body>\n<div class="x">beep boop.</div>\n'
+ + '</body>\n</html>\n'
);
}));

0 comments on commit cdd289f

Please sign in to comment.
Something went wrong with that request. Please try again.