diff options
author | Jasper Van der Jeugt <m@jaspervdj.be> | 2012-12-15 18:02:47 +0100 |
---|---|---|
committer | Jasper Van der Jeugt <m@jaspervdj.be> | 2012-12-15 18:02:47 +0100 |
commit | e633df17dd72703a541c46d829096dfe40b75e50 (patch) | |
tree | c8514b0a05fed2e0e359d479c934cbd9ae504abf /tests/Hakyll/Web/Template | |
parent | 3f42c9cd6f45bb306d622f3ffa175e2a8b0910e1 (diff) | |
download | hakyll-e633df17dd72703a541c46d829096dfe40b75e50.tar.gz |
Rename pageCompiler to pandocCompiler
Diffstat (limited to 'tests/Hakyll/Web/Template')
-rw-r--r-- | tests/Hakyll/Web/Template/Tests.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Hakyll/Web/Template/Tests.hs b/tests/Hakyll/Web/Template/Tests.hs index 4e49d1f..6c5c77a 100644 --- a/tests/Hakyll/Web/Template/Tests.hs +++ b/tests/Hakyll/Web/Template/Tests.hs @@ -15,7 +15,7 @@ import Test.HUnit (Assertion, (@=?)) -------------------------------------------------------------------------------- import Hakyll.Core.Item import Hakyll.Core.Provider -import Hakyll.Web.Page +import Hakyll.Web.Pandoc import Hakyll.Web.Template import Hakyll.Web.Template.Context import TestSuite.Util @@ -36,7 +36,7 @@ case01 = withTestStore $ \store -> do out <- resourceString provider "template.html.out" tpl <- testCompilerDone store provider "template.html" $ templateCompiler item <- testCompilerDone store provider "example.md" $ - pageCompiler >>= applyTemplate (itemBody tpl) testContext + pandocCompiler >>= applyTemplate (itemBody tpl) testContext out @=? itemBody item |