From ec825e7abc430c2389f9af46cccdfc2be585a90a Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Sat, 15 Apr 2023 13:39:07 +0100 Subject: 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. --- tests/issue.scm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') 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") -- cgit v1.2.3