Skip to content
Permalink
Browse files
failing test for #110
  • Loading branch information
etrepum committed May 6, 2013
1 parent f540b15 commit 13f931660638432c79b4fbcaced500e9e7ab03c0
Showing 1 changed file with 8 additions and 0 deletions.
@@ -570,3 +570,11 @@ parse_unescaped_lt_test() ->
{<<"div">>, [], [<<" << ">>, {<<"a">>, [{<<"href">>, <<"/">>}],
[<<"Back">>]}]},
mochiweb_html:parse(D2)).

implicit_html_test() ->
%% https://github.com/mochi/mochiweb/issues/110
?assertEqual(
{<<"html">>, [],
[{<<"head">>, [], []},
{<<"body">>, [], []}]},
mochiweb_html:parse("<!doctype html><head></head><body></body>")).

0 comments on commit 13f9316

Please sign in to comment.