X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=tests%2FWikiParserTest.hs;h=9bfdc4efa4538e8342169c1c903fba99e15184f2;hb=7c3065043cdfbd96539a9bf6bff9b1d4281c0b2a;hp=026dcaa87fabde522f7864c80d5430172583d8e3;hpb=f832f12703d807f5fc3350dc71d8624ffc5b97a5;p=Rakka.git diff --git a/tests/WikiParserTest.hs b/tests/WikiParserTest.hs index 026dcaa..9bfdc4e 100644 --- a/tests/WikiParserTest.hs +++ b/tests/WikiParserTest.hs @@ -326,6 +326,11 @@ testData = [ (parseWiki "" (Right [ BlockCmd (BlockCommand "div" [] [ Paragraph [Text "foo"] ]) ])) + , (parseWiki "
\nbar\n
" + ~?= + (Right [ BlockCmd (BlockCommand "div" [] + [ Paragraph [Text "bar"] ]) ])) + , (parseWiki "
" ~?= (Right [ BlockCmd (BlockCommand "div" [] []) ]))