@@ -0,0 +1,37 @@
1+{-# LANGUAGE OverloadedStrings #-}
2+module Tests.Writers.AsciiDoc (tests) where
5+import Text.Pandoc.Builder
8+import Tests.Arbitrary()
11+asciidoc :: (ToString a, ToPandoc a) => a -> String
12+asciidoc = writeAsciiDoc def{ writerWrapText = False } . toPandoc
15+tests = [ testGroup "tables"
16+ [ test asciidoc "empty cells" $
17+ simpleTable [] [[mempty],[mempty]] =?> unlines
24+ , test asciidoc "multiblock cells" $
25+ simpleTable [] [[para "Para 1" <> para "Para 2"]]