diff options
Diffstat (limited to 'src/Tests')
-rw-r--r-- | src/Tests/Readers/Markdown.hs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Tests/Readers/Markdown.hs b/src/Tests/Readers/Markdown.hs index bfd3602e0..9fc0496bb 100644 --- a/src/Tests/Readers/Markdown.hs +++ b/src/Tests/Readers/Markdown.hs @@ -27,8 +27,11 @@ tests = [ testGroup "inline code" =?> para (codeWith ("",["haskell","special"],[("x","7")]) "*") ] , testGroup "footnotes" - [ "indent followed by newline" =: + [ "indent followed by newline and flush-left text" =: "[^1]\n\n[^1]: my note\n\n \nnot in note\n" =?> para (note (para "my note")) +++ para "not in note" + , "indent followed by newline and indented text" =: + "[^1]\n\n[^1]: my note\n\n \n in note\n" + =?> para (note (para "my note" +++ para "in note")) ] ] |