git.iko.soy/typeable/pandoc
on master help sign in
Org reader: Update Tests
313355eJesse Rosenthal
tests/Tests/Readers/Org.hs+5−1
@@ -126,6 +126,10 @@ tests =
126 , (emph "b") <> "."
126 , (emph "b") <> "."
127 ])
127 ])
128
128
129+ , "Markup should work properly after a blank line" =:
130+ unlines ["foo", "", "/bar/"] =?>
131+ (para $ text "foo") <> (para $ emph $ text "bar")
132+
129 , "Inline math must stay within three lines" =:
133 , "Inline math must stay within three lines" =:
130 unlines [ "$a", "b", "c$", "$d", "e", "f", "g$" ] =?>
134 unlines [ "$a", "b", "c$", "$d", "e", "f", "g$" ] =?>
131 para ((math "a\nb\nc") <> space <>
135 para ((math "a\nb\nc") <> space <>
@@ -944,7 +948,7 @@ tests =
944 , ""
948 , ""
945 , "#+RESULTS:"
949 , "#+RESULTS:"
946 , ": 65" ] =?>
950 , ": 65" ] =?>
947− rawBlock "html" ""
951+ rawBlock "html" ""
948
952
949 , "Example block" =:
953 , "Example block" =:
950 unlines [ "#+begin_example"
954 unlines [ "#+begin_example"