From 195b3af8b63bed91d565d8745e75f07509bb595d Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Wed, 14 Nov 2018 14:35:58 +0300 Subject: Muse writer: indent simple tables only on the top level --- test/Tests/Writers/Muse.hs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/Tests') diff --git a/test/Tests/Writers/Muse.hs b/test/Tests/Writers/Muse.hs index 6cf718c0b..c2439b1a2 100644 --- a/test/Tests/Writers/Muse.hs +++ b/test/Tests/Writers/Muse.hs @@ -400,6 +400,12 @@ tests = [ testGroup "block elements" , " Para 2.1 | Para 2.2" , " |+ Table 1 +|" ] + , "table inside bullet list" =: + bulletList [simpleTable [] [[para "foo", para "bar"] + ,[para "bat", para "baz"]]] + =?> unlines [ " - foo | bar" + , " bat | baz" + ] , "table with one column" =: let headers = [] rows = [[para "Para 1"] -- cgit v1.2.3