summaryrefslogtreecommitdiff
path: root/test/Tests/Writers/Org.hs
diff options
context:
space:
mode:
Diffstat (limited to 'test/Tests/Writers/Org.hs')
-rw-r--r--test/Tests/Writers/Org.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Tests/Writers/Org.hs b/test/Tests/Writers/Org.hs
index bd6c9b7ab..240bb27e8 100644
--- a/test/Tests/Writers/Org.hs
+++ b/test/Tests/Writers/Org.hs
@@ -50,6 +50,14 @@ tests =
[ "1. [ ] a"
, "2. [X] b"
]
+ , "ordered task list with starting number"
+ =: orderedListWith
+ (9, DefaultStyle, DefaultDelim)
+ [plain ("☐" <> space <> "a"), plain "☒ b"]
+ =?> T.unlines
+ [ "9. [@9] [ ] a"
+ , "10. [X] b"
+ ]
, test (orgWithOpts def) "bullet without task_lists" $
bulletList [plain "☐ a", plain "☒ b"]
=?> T.unlines