aboutsummaryrefslogtreecommitdiff
path: root/tests/Tests/Writers/Markdown.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Tests/Writers/Markdown.hs')
-rw-r--r--tests/Tests/Writers/Markdown.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/Tests/Writers/Markdown.hs b/tests/Tests/Writers/Markdown.hs
index 99b85dfb7..c2a8f5903 100644
--- a/tests/Tests/Writers/Markdown.hs
+++ b/tests/Tests/Writers/Markdown.hs
@@ -31,4 +31,8 @@ tests :: [Test]
tests = [ "indented code after list"
=: (orderedList [ para "one" <> para "two" ] <> codeBlock "test")
=?> "1. one\n\n two\n\n<!-- -->\n\n test"
+ , "list with tight sublist"
+ =: bulletList [ plain "foo" <> bulletList [ plain "bar" ],
+ plain "baz" ]
+ =?> "- foo\n - bar\n- baz\n"
]