summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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.