summaryrefslogtreecommitdiff
path: root/tests/Hakyll/Web/Pandoc/Biblio/Tests.hs
diff options
context:
space:
mode:
authorAlexander Batischev <eual.jp@gmail.com>2020-12-30 22:50:58 +0300
committerGitHub <noreply@github.com>2020-12-30 22:50:58 +0300
commitf3881821328fae8cba848627f1caf2086121c903 (patch)
tree695e0bb91caa15915de8935e3da4bd9db6ba66d2 /tests/Hakyll/Web/Pandoc/Biblio/Tests.hs
parent87e93c6c95b86b435b532286e07b0a9b896aef8f (diff)
downloadhakyll-f3881821328fae8cba848627f1caf2086121c903.tar.gz
Revert "Fix golden test failing with pandoc >= 2.11.3 (#829)" (#830)
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
Diffstat (limited to 'tests/Hakyll/Web/Pandoc/Biblio/Tests.hs')
-rw-r--r--tests/Hakyll/Web/Pandoc/Biblio/Tests.hs5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/Hakyll/Web/Pandoc/Biblio/Tests.hs b/tests/Hakyll/Web/Pandoc/Biblio/Tests.hs
index 9135086..fb98f08 100644
--- a/tests/Hakyll/Web/Pandoc/Biblio/Tests.hs
+++ b/tests/Hakyll/Web/Pandoc/Biblio/Tests.hs
@@ -1,6 +1,5 @@
--------------------------------------------------------------------------------
{-# LANGUAGE OverloadedStrings #-}
-{-# LANGUAGE CPP #-}
module Hakyll.Web.Pandoc.Biblio.Tests
( tests
) where
@@ -37,11 +36,7 @@ goldenTest01 :: TestTree
goldenTest01 =
goldenVsString
"biblio01"
-#if MIN_VERSION_pandoc(2,11,3)
(goldenTestsDataDir </> "biblio01.golden")
-#else
- (goldenTestsDataDir </> "biblio01-pre-pandoc-2.11.3.golden")
-#endif
(do
-- Code lifted from https://github.com/jaspervdj/hakyll-citeproc-example.
logger <- Logger.new Logger.Error