git.iko.soy/typeable/pandoc
on master help sign in
Added failing test case due to Perry Wagle.
commit5611057e06431de32a0c832367c6a8942585fb39 authorJohn MacFarlane <jgm@berkeley.edu> dateWed 22 Jun 2011, 20:18 (15 years ago) parent9e71dc3
1 file changed+7
src/Tests/Readers/Markdown.hs+7
src/Tests/Readers/Markdown.hs+7
@@ -40,6 +40,13 @@ tests = [ testGroup "inline code"
4040 "`*` {.haskell .special x=\"7\"}"
4141 =?> para (codeWith ("",["haskell","special"],[("x","7")]) "*")
4242 ]
43+ , testGroup "emphasis and strong"
44+ [ "mixed emph and strong" =:
45+ "*xxx* ***xxx*** xxx\n*xxx* ***xxx*** xxx"
46+ =?> para (emph "xxx" +++ space +++ strong (emph "xxx") +++
47+ space +++ "xxx" +++ space +++
48+ emph "xxx" +++ space +++ strong (emph "xxx"))
49+ ]
4350 , testGroup "footnotes"
4451 [ "indent followed by newline and flush-left text" =:
4552 "[^1]\n\n[^1]: my note\n\n \nnot in note\n"