From 2a075e9d7a31303efa823f1779c2b32f9fb8a14f Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 15 Dec 2010 18:07:36 -0800 Subject: test-pandoc: removed need to depend on MissingH. --- src/test-pandoc.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/test-pandoc.hs b/src/test-pandoc.hs index 2c7bc0749..b475711d2 100644 --- a/src/test-pandoc.hs +++ b/src/test-pandoc.hs @@ -21,7 +21,7 @@ import System.Environment import System.Exit import Text.Printf import Data.Algorithm.Diff -import Data.String.Utils ( replace ) +import Text.Pandoc.Shared ( substitute ) import Prelude hiding ( readFile ) import qualified Data.ByteString.Lazy as B import Data.ByteString.Lazy.UTF8 (toString, fromString) @@ -167,7 +167,7 @@ runLatexCitationTests o n where o' = o ++ ["--" ++ n] f = n ++ "-citations.latex" - normalize = replace "\160" " " . replace "\8211" "-" + normalize = substitute "\160" " " . substitute "\8211" "-" rt = runTestWithNormalize normalize runWriterTest :: String -> IO Bool -- cgit v1.2.3