summaryrefslogtreecommitdiff
path: root/tests/Hakyll/Core
diff options
context:
space:
mode:
authorBergi <a.d.bergi@web.de>2018-03-20 12:57:58 +0100
committerJasper Van der Jeugt <jaspervdj@gmail.com>2018-03-20 07:57:58 -0400
commitc28428fd8c61cfd21adba5b5fbefc0f8a1784da8 (patch)
tree35b65d133801b4e6fed8effd2286628d16f8a6ee /tests/Hakyll/Core
parent9a23bfb129ca799cdeb9e893dcc82afbff742fb3 (diff)
downloadhakyll-c28428fd8c61cfd21adba5b5fbefc0f8a1784da8.tar.gz
Make Pandoc dependency optional
Diffstat (limited to 'tests/Hakyll/Core')
-rw-r--r--tests/Hakyll/Core/Rules/Tests.hs3
-rw-r--r--tests/Hakyll/Core/Runtime/Tests.hs2
2 files changed, 2 insertions, 3 deletions
diff --git a/tests/Hakyll/Core/Rules/Tests.hs b/tests/Hakyll/Core/Rules/Tests.hs
index c4c0f28..24b5b8c 100644
--- a/tests/Hakyll/Core/Rules/Tests.hs
+++ b/tests/Hakyll/Core/Rules/Tests.hs
@@ -17,7 +17,6 @@ import Hakyll.Core.Metadata
import Hakyll.Core.Routes
import Hakyll.Core.Rules
import Hakyll.Core.Rules.Internal
-import Hakyll.Web.Pandoc
import System.FilePath ((</>))
import Test.Tasty (TestTree, testGroup)
import Test.Tasty.HUnit (Assertion, (@=?))
@@ -75,7 +74,7 @@ rules01 ioref = do
-- Compile some posts
match "*.md" $ do
route $ setExtension "html"
- compile pandocCompiler
+ compile copyFileCompiler
-- Yeah. I don't know how else to test this stuff?
preprocess $ writeIORef ioref True
diff --git a/tests/Hakyll/Core/Runtime/Tests.hs b/tests/Hakyll/Core/Runtime/Tests.hs
index 5f27854..9c23162 100644
--- a/tests/Hakyll/Core/Runtime/Tests.hs
+++ b/tests/Hakyll/Core/Runtime/Tests.hs
@@ -39,7 +39,7 @@ case01 = do
compile $ do
getResourceBody
>>= saveSnapshot "raw"
- >>= renderPandoc
+ >>= renderParagraphs
match (fromList ["partial.html", "partial-helper.html"]) $
compile templateCompiler