summaryrefslogtreecommitdiff
path: root/tests/Hakyll/Web
AgeCommit message (Collapse)AuthorFilesLines
2021-06-06Allow demotion of headers by a given amount (#855)Logan McGrath1-1/+12
2020-12-30Revert "Fix golden test failing with pandoc >= 2.11.3 (#829)" (#830)Alexander Batischev1-5/+0
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 Batischev1-0/+5
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 Batischev1-0/+66
2020-05-30Miscellaneous Windows-specific fixes and CILaurent P. René de Cotret2-1/+6
2019-08-30Improve error messagesJasper Van der Jeugt2-18/+50
2019-08-25Add getCategory testsDavid Parrish1-0/+42
2019-05-25Add option to specify date in directory structureTaeer Bar-Yam1-0/+5
2019-02-06Fix typo in Hakyll.Web.Template(.Context).TestsHexirp2-2/+2
2018-10-02Drop extension when parsing dates in filepathsGabriel Aumala1-0/+4
Drop the file extension when parsing the date from the filepath of a resource.
2018-03-20Make Pandoc dependency optionalBergi1-2/+3
2018-03-07Optimise CSS compressionBergi1-9/+9
2018-01-15Various dependency bumpsJasper Van der Jeugt1-6/+6
- 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-18Fix warnings and errorsJasper Van der Jeugt1-2/+1
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-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. Papaspyrou1-0/+1
2016-10-17Move from test-framework to tastyJasper Van der Jeugt6-25/+25
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 Rauch1-0/+43
2016-07-25Trim instructions. TrimRd chunk might need TrimL. Trim tests.samgd1-6/+8
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
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-02-11Remove test debug outputPaul Keene1-2/+0
2014-10-27Add testsJasper Van der Jeugt1-3/+14
2014-10-27Better functions in templatesJasper Van der Jeugt2-2/+2
2014-04-19ADD: Added failing test cases for `toSiteRoot`.Izzy Cecil1-0/+2
2013-08-10Add functionField againJasper Van der Jeugt1-0/+1
2013-06-16More tests for toUrl functionSimonas Kazlauskas1-4/+9
2013-06-15Sanitize URLs in toUrlJasper Van der Jeugt1-3/+4
Closes #163
2013-05-06Implement foreach structureJasper Van der Jeugt2-3/+15
2013-04-04Account for scheme-relative URLsSimonas Kazlauskas1-0/+1
http://url.spec.whatwg.org/#concept-scheme-relative-url
2013-02-09Start provider rewriteJasper Van der Jeugt1-0/+2
2013-01-28Fix .tex.lhs patch, add some test casesJasper Van der Jeugt1-0/+26