summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2021-06-06Allow demotion of headers by a given amount (#855)Logan McGrath1-1/+12
2021-05-30Async runtime with graph-based dependency cycle checks (#844)Laurent P. René de Cotret1-1/+29
* Async runtime * Activate multi-threading in template repo * Style changes after feedback * Limiting the number of concurrent tasks * Revert "Limiting the number of concurrent tasks" This reverts commit 38984f6f5332632be8c4cab3e29d37e318492d70.
2020-12-30Revert "Fix golden test failing with pandoc >= 2.11.3 (#829)" (#830)Alexander Batischev3-22/+1
This reverts commit 87e93c6c95b86b435b532286e07b0a9b896aef8f. I screwed up with that one: the change in behaviour was a regression[1] in Pandoc, and I shouldn't have papered over it. It's fairly unlikely that someone would build Hakyll's test suite with one of the two Pandoc versions that regressed, so I simply revert my earlier commit. 1. https://github.com/jgm/pandoc/issues/6966
2020-12-30Fix golden test failing with pandoc >= 2.11.3 (#829)Alexander Batischev3-1/+22
The new version started wrapping Biblio references into <p> tags, so we now keep two different golden files for different Pandoc versions. I had to add Pandoc to dependencies of the test suite, otherwise GHC won't define `MIN_VERSION_pandoc` macro.
2020-12-07Add golden test for Pandoc.Biblio (#827)Alexander Batischev7-0/+756
2020-05-30Miscellaneous Windows-specific fixes and CILaurent P. René de Cotret5-5/+18
2020-05-27Fix for filepath matching on WindowsLaurent P. René de Cotret1-16/+16
2019-08-30Improve error messagesJasper Van der Jeugt5-36/+68
2019-08-25Add getCategory testsDavid Parrish2-0/+44
2019-05-25Add option to specify date in directory structureTaeer Bar-Yam2-0/+6
2019-02-06Fix typo in Hakyll.Web.Template(.Context).TestsHexirp2-2/+2
2018-11-24Corrected assertion in unixFilterError testJim McStanton1-1/+3
2018-10-02Drop extension when parsing dates in filepathsGabriel Aumala2-0/+5
Drop the file extension when parsing the date from the filepath of a resource.
2018-03-20Make Pandoc dependency optionalBergi5-5/+22
2018-03-07Optimise CSS compressionBergi1-9/+9
2018-01-15Various dependency bumpsJasper Van der Jeugt5-25/+25
- Bump binary to 0.9 - Bump pandoc to 2.1 - Bump pandoc-citeproc to 0.13 - Bump http-types to 0.11 - Bump QuickCheck to 2.11 - Bump tasty to 1.0 - Bump tasty-hunit to 0.10 - Remove system-filepath dependency
2017-12-25 Extend capture with Regex handlingfrederik-h1-0/+1
2017-12-18Fix warnings and errorsJasper Van der Jeugt2-5/+5
2017-11-17Fix compression of calc() in CSSKrzysztof Jurewicz1-0/+2
According to Mozilla Developer Network, “The + and - operators must always be surrounded by whitespace.”.
2017-11-17Make unixFilter output stderr when failingNick Boultbee1-3/+21
Fixes #581.
2017-06-10Some small CSS compression improvementsNicole Rauch1-3/+7
* We now also compress whitespace around commas. * Remove whitespace around some other operators as well. * Clarified the code around the separator compression and even improved the code (one case slipped through unnoticed).
2016-10-31Add testNikolaos S. Papaspyrou4-0/+17
2016-10-17Move from test-framework to tastyJasper Van der Jeugt18-79/+77
2016-08-15Also trim whitespace around colons.Nicole Rauch1-0/+2
2016-08-14Do not strip comments that are inside constants.Nicole Rauch1-1/+4
2016-08-14We must avoid the compression of whitespace in constants by handling it in ↵Nicole Rauch1-1/+6
the same way.
2016-08-14Improved the compaction a bit more.Nicole Rauch1-0/+2
2016-08-14Compacted the tests and made them more readable.Nicole Rauch1-22/+11
2016-08-14We need to constantly check whether we are at the start of a constant, not ↵Nicole Rauch1-4/+6
just once.
2016-08-14Adding tests that make sure that whitespace at the start or end of constants ↵Nicole Rauch1-0/+5
does not get eaten.
2016-08-14Adding tests that make sure that the constant terminators don't get mixed up.Nicole Rauch1-0/+5
2016-08-14Whitespace in certain kinds of string constants is no longer eliminated.Nicole Rauch1-0/+3
2016-08-14Added some unit tests for CompressCssNicole Rauch2-0/+45
2016-08-04Fix partials and add a testJasper Van der Jeugt4-0/+26
Fixes #460
2016-07-25Trim instructions. TrimRd chunk might need TrimL. Trim tests.samgd3-6/+60
2016-07-24Fix module layoutsamgd1-48/+39
2016-07-24Working trimming but module loop and formatting req.samgd1-8/+8
2016-07-23Expr trimming. '-' binds to '$'.samgd1-0/+7
2016-07-23Partial trimmingsamgd1-0/+7
2016-07-23For trimmingsamgd1-3/+13
2016-07-23If Trim parsingsamgd1-5/+8
2016-07-22Add Trim_ data constructors. Add If test for Trimsamgd1-0/+15
2016-07-22Remove redundant wheresamgd1-1/+0
2016-04-21Fix test failureJasper Van der Jeugt1-3/+11
2016-04-06Initial YAML supportJasper Van der Jeugt4-36/+29
See #225
2015-10-24templateBodyCompiler compiles resource body onlyBergi1-1/+1
and becomes the new default, instead of templateCompiler fixes #378
2015-08-16Add "poster" as a URL attributeDuncan1-0/+3
2015-05-29Update to use Pandoc 1.14Jasper Van der Jeugt1-1/+1
2015-02-11Remove test debug outputPaul Keene1-2/+0
2015-01-10Ensure "Listening on 0.0.0.0:8000" message is not garbledJasper Van der Jeugt1-2/+4