summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Expand)Author
2023-04-18web: server: Handle files without extension.•••* tissue/web/server.scm (mime-type-for-extension): Handle files without extension. * tests/web/server.scm: New file. Arun Isaac
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
2023-01-26git: Infer changes by root commit correctly.•••* tissue/git.scm (commit-deltas): Rename to ... (commit-file-changes): ... this. Return list of pairs mapping old files to new files. (file-modification-table): Use commit-file-changes instead of commit-deltas. Adapt to new return value. * tests/git.scm: New file. * .dir-locals.el (scheme-mode): Set scheme-indent-function for with-variable and with-variables. Arun Isaac
2023-01-23tests: Remove tests for pairify.•••pairify was deprecated. * tests/tissue.scm (pairify): Delete variable. ("pairify"): Delete test. Arun Isaac
2022-07-09tissue: Delay index-documents field.•••* tissue/tissue.scm: Import (ice-9 match). (<tissue-configuration>)[indexed-documents]: Rename getter to delayed-tissue-configuration-indexed-documents. (tissue-configuration-indexed-documents): New function. (pairify): New function. (tissue-configuration): Delay #:indexed-documents argument too. * tests/tissue.scm: New file. 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