test-pandoc: removed need to depend on MissingH.

This commit is contained in:
John MacFarlane 2010-12-15 18:07:36 -08:00
parent 605648cbbf
commit 2a075e9d7a
2 changed files with 4 additions and 4 deletions

View file

@ -291,5 +291,5 @@ Executable test-pandoc
Buildable: False
else
Ghc-Options: -Wall
Build-Depends: base >= 4 && < 5, Diff, MissingH
Build-Depends: base >= 4 && < 5, Diff
Other-Modules: Text.Pandoc.Shared

View file

@ -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