diff options
Diffstat (limited to 'test/Tests/Writers/RST.hs')
-rw-r--r-- | test/Tests/Writers/RST.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Tests/Writers/RST.hs b/test/Tests/Writers/RST.hs index abc9820af..8727b38be 100644 --- a/test/Tests/Writers/RST.hs +++ b/test/Tests/Writers/RST.hs @@ -24,7 +24,7 @@ testTemplate t = case runIdentity (compileTemplate [] (T.pack t)) of Left e -> error $ "Could not compile RST template: " ++ e Right templ -> test (purely (writeRST def{ writerTemplate = Just templ }) . toPandoc) -bodyTemplate :: Template +bodyTemplate :: Template T.Text bodyTemplate = case runIdentity (compileTemplate [] "$body$\n") of Left e -> error $ "Could not compile RST bodyTemplate" ++ e |