From 87e93c6c95b86b435b532286e07b0a9b896aef8f Mon Sep 17 00:00:00 2001 From: Alexander Batischev Date: Wed, 30 Dec 2020 15:48:40 +0300 Subject: Fix golden test failing with pandoc >= 2.11.3 (#829) The new version started wrapping Biblio references into

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. --- hakyll.cabal | 2 ++ 1 file changed, 2 insertions(+) (limited to 'hakyll.cabal') diff --git a/hakyll.cabal b/hakyll.cabal index 66eec1d..d8f44f7 100644 --- a/hakyll.cabal +++ b/hakyll.cabal @@ -299,6 +299,8 @@ Test-suite hakyll-tests Other-modules: Hakyll.Web.Pandoc.Biblio.Tests Hakyll.Web.Pandoc.FileType.Tests + Build-Depends: + pandoc >= 2.11 && < 2.12 Cpp-options: -DUSE_PANDOC -- cgit v1.2.3