summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tests/issue.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/issue.scm b/tests/issue.scm
index db2595f..22a04aa 100644
--- a/tests/issue.scm
+++ b/tests/issue.scm
@@ -86,4 +86,11 @@ strings."
   (call-with-input-string "* keywords: this is a long keyword"
     (compose hashtable->alist file-details)))
 
+(test-equal "Parse checkboxes"
+  '((completed-tasks . 1)
+    (tasks . 2))
+  (call-with-input-string "* [ ] foo
+* [x] bar"
+    (compose hashtable->alist file-details)))
+
 (test-end "issue")