summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorArun Isaac2023-04-15 13:39:07 +0100
committerArun Isaac2023-04-15 13:45:30 +0100
commitec825e7abc430c2389f9af46cccdfc2be585a90a (patch)
treeef7ccd4739dc5971aa9d01ffdef273821183735c /tests
parent1da3680f56890f8adc2d512884526cc8d3f9bdb6 (diff)
downloadtissue-ec825e7abc430c2389f9af46cccdfc2be585a90a.tar.gz
tissue-ec825e7abc430c2389f9af46cccdfc2be585a90a.tar.lz
tissue-ec825e7abc430c2389f9af46cccdfc2be585a90a.zip
issue: Allow checkboxes without a space.
* tissue/issue.scm (file-details): Allow checkboxes without a space. * tests/issue.scm ("Allow checkboxes without a space"): New test. * issues/allow-checkboxes-without-a-space.gmi: Close issue.
Diffstat (limited to 'tests')
-rw-r--r--tests/issue.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/issue.scm b/tests/issue.scm
index 22a04aa..53d908f 100644
--- a/tests/issue.scm
+++ b/tests/issue.scm
@@ -93,4 +93,9 @@ strings."
* [x] bar"
(compose hashtable->alist file-details)))
+(test-equal "Allow checkboxes without a space"
+ '((tasks . 1))
+ (call-with-input-string "* [] foo"
+ (compose hashtable->alist file-details)))
+
(test-end "issue")