aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Tests/Writers/Muse.hs12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/Tests/Writers/Muse.hs b/test/Tests/Writers/Muse.hs
index c6ebac771..6cf718c0b 100644
--- a/test/Tests/Writers/Muse.hs
+++ b/test/Tests/Writers/Muse.hs
@@ -400,6 +400,18 @@ tests = [ testGroup "block elements"
, " Para 2.1 | Para 2.2"
, " |+ Table 1 +|"
]
+ , "table with one column" =:
+ let headers = []
+ rows = [[para "Para 1"]
+ ,[para "Para 2"]]
+ in simpleTable headers rows
+ =?>
+ unlines [ "+--------+"
+ , "| Para 1 |"
+ , "+--------+"
+ , "| Para 2 |"
+ , "+--------+"
+ ]
]
, "div with bullet list" =:
divWith nullAttr (bulletList [para "foo"]) =?>