test-pandoc: removed need to depend on MissingH.
This commit is contained in:
parent
605648cbbf
commit
2a075e9d7a
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue