diff options
author | Ben Gamari <ben@smart-cactus.org> | 2016-02-08 15:40:44 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-02-08 15:40:44 +0100 |
commit | 228a0d72baa04be161b0fc918266f2edb0c6519b (patch) | |
tree | 43246f722a0f28614019243e34dfd83e5ca29217 /html-test/Main.hs | |
parent | 8a4c949bfc731ef0dcd83d557da278d162152fb5 (diff) | |
parent | a427f597e081ce37a881e6612efeab7ef0bb0dac (diff) |
Merge branch 'fix-up-testsuite'
Diffstat (limited to 'html-test/Main.hs')
-rwxr-xr-x | html-test/Main.hs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/html-test/Main.hs b/html-test/Main.hs index 3880fc3c..67dbeec6 100755 --- a/html-test/Main.hs +++ b/html-test/Main.hs @@ -2,6 +2,7 @@ import Data.Char +import Data.Function (on) import System.Environment import System.FilePath @@ -12,9 +13,10 @@ import Test.Haddock.Xhtml checkConfig :: CheckConfig Xml checkConfig = CheckConfig - { ccfgRead = \mdl input -> stripIfRequired mdl <$> parseXml input + { ccfgRead = parseXml + , ccfgClean = stripIfRequired , ccfgDump = dumpXml - , ccfgEqual = (==) + , ccfgEqual = (==) `on` dumpXml } |