summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* html: Fix emission of 'script' and 'style' elements.Daniel Meißner2024-03-021-0/+27
| | | | The contents of these elements are not to be escaped.
* post: Add convenience procedures for post author, tags, and title.Filip Lajszczak2023-11-101-0/+26
| | | | | | | | | | Author, tags and title metadata are commonly used, * haunt/post.scm (post-author, post-tags, post-title): New procedures. * tests/post.scm ("post-author, author metadata", "post-tags, tags metadata", "post-title, title metadata", "post-author, no metadata", "post-tags, no metadata", "post-title, no metadata"): New tests. * doc/haunt.texi (Posts): Docs for new procedures.
* Fix test suite.v0.2.6David Thompson2022-01-263-98/+116
|
* tests: Fix utils test.David Thompson2021-04-151-1/+1
|
* Fix tests that fail during daylight savings time.David Thompson2017-01-232-2/+4
| | | | lol oops
* post: Add read-metadata-headers procedure.David Thompson2015-10-151-1/+14
| | | | | | | | * haunt/post.scm (read-metadata-headers): New procedure. * haunt/reader.scm (read-html-post): Reimplement using 'read-metadata-headers'. * tests/post.scm (%tzoffset): New variable. ("read-metadata-headers"): New test.
* tests: Add post tests.David Thompson2015-10-151-0/+71
| | | | | * tests/post.scm: New file. * Makefile.am (TESTS): Add it.
* utils: Clean up and add tests.David Thompson2015-10-141-0/+85
* haunt/utils.scm (flat-map, string-split-at): Add docstring. (file-name-components): Adjust slightly to handle "/". (join-file-name-components): Use prefix string join grammar. (absolute-file-name): Add docstring. * test-env.in: New file. * tests/utils.scm: New file. * Makefile.am (TESTS, TEST_EXTENSIONS, SCM_LOG_COMPILER, AM_SCM_LOG_FLAGS): New variables. * configure.ac: Add test-env pre-processed file. * build-aux/test-driver: New file.