summaryrefslogtreecommitdiff
path: root/tests/issue.scm
AgeCommit message (Expand)Author
2023-04-15issue: Ignore preformatted blocks.•••* tissue/issue.scm (file-details): Ignore preformatted blocks. * tests/issue.scm ("Ignore preformatted block"): New test. * issues/ignore-preformatted-blocks-in-gemtext-parser.gmi: Close issue. Arun Isaac
2023-04-15issue: 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. Arun Isaac
2023-04-15tests: Add test for checkbox parsing.•••* tests/issue.scm ("Parse checkboxes"): New test. Arun Isaac
2023-04-15tests: Sort alist entries after converting hashtable.•••The order of entries in an association list is insignificant. Sorting association list entries prevents tests from breaking simply because the order of the entries is different. * tests/issue.scm: Import (ice-9 match). (hashtable->alist): Sort alist entries after converting hashtable. Document this in the docstring. Arun Isaac
2022-07-07issue: Parse known keys in list lines even if they are long.•••We drop the restriction that values in key-value pairs should be 2 words or less. Instead, if the key is a known key such as "keywords:", "tags:" or "status:", we always accept it as a key. * tissue/issue.scm (file-details): Parse known keys in list lines even if they are long. * tests/issue.scm ("Parse keywords even if they are long"): New test. Arun Isaac
2022-07-07tests: Add tests.•••* Makefile (GUILE, tests): New variables. (check): Run tests. * tests/issue.scm: New file. Arun Isaac