aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/Tests/Readers/Org.hs12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/Tests/Readers/Org.hs b/test/Tests/Readers/Org.hs
index 30074d6bd..dbd56c880 100644
--- a/test/Tests/Readers/Org.hs
+++ b/test/Tests/Readers/Org.hs
@@ -1262,6 +1262,12 @@ tests =
, headerWith ("notvalidlistitem", [], []) 1 "NotValidListItem"
]
+ , "Empty bullet points" =:
+ T.unlines [ "-"
+ , "- "
+ ] =?>
+ bulletList [ plain "", plain "" ]
+
, "Simple Ordered List" =:
("1. Item1\n" <>
"2. Item2\n") =?>
@@ -1289,6 +1295,12 @@ tests =
]
in orderedListWith listStyle listStructure
+ , "Empty ordered list item" =:
+ T.unlines [ "1."
+ , "3. "
+ ] =?>
+ orderedList [ plain "", plain "" ]
+
, "Nested Ordered Lists" =:
("1. One\n" <>
" 1. One-One\n" <>