From ad19166bc308a2428bd040851a2a97c76e8873f9 Mon Sep 17 00:00:00 2001 From: Yan Pas Date: Wed, 9 May 2018 20:40:37 +0300 Subject: [PATCH] fix build and tests --- src/Text/Pandoc/Readers/Man.hs | 1 + test/Tests/Readers/Man.hs | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Text/Pandoc/Readers/Man.hs b/src/Text/Pandoc/Readers/Man.hs index 70de68d1f..fe66bb61c 100644 --- a/src/Text/Pandoc/Readers/Man.hs +++ b/src/Text/Pandoc/Readers/Man.hs @@ -32,6 +32,7 @@ Conversion of man to 'Pandoc' document. -} module Text.Pandoc.Readers.Man (readMan) where +import Prelude import Control.Monad.Except (throwError) import Data.Default (Default) import Data.Map (insert) diff --git a/test/Tests/Readers/Man.hs b/test/Tests/Readers/Man.hs index 007935be1..a9fe324d1 100644 --- a/test/Tests/Readers/Man.hs +++ b/test/Tests/Readers/Man.hs @@ -1,6 +1,7 @@ {-# LANGUAGE OverloadedStrings #-} module Tests.Readers.Man (tests) where +import Prelude import Data.Text (Text) import Test.Tasty import Tests.Helpers @@ -23,9 +24,9 @@ tests = [ testGroup "Macros" [ "Bold" =: ".B foo\n" - =?> strong "foo" + =?> (para $ strong "foo") , "Italic" =: ".I foo\n" - =?> emph "foo" + =?> (para $ emph "foo") ] ]