aboutsummaryrefslogtreecommitdiff
path: root/haddock-test/src/Test/Haddock
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2016-02-08 15:40:44 +0100
committerBen Gamari <ben@smart-cactus.org>2016-02-08 15:40:44 +0100
commit228a0d72baa04be161b0fc918266f2edb0c6519b (patch)
tree43246f722a0f28614019243e34dfd83e5ca29217 /haddock-test/src/Test/Haddock
parent8a4c949bfc731ef0dcd83d557da278d162152fb5 (diff)
parenta427f597e081ce37a881e6612efeab7ef0bb0dac (diff)
Merge branch 'fix-up-testsuite'
Diffstat (limited to 'haddock-test/src/Test/Haddock')
-rw-r--r--haddock-test/src/Test/Haddock/Config.hs6
1 files changed, 5 insertions, 1 deletions
diff --git a/haddock-test/src/Test/Haddock/Config.hs b/haddock-test/src/Test/Haddock/Config.hs
index cd878178..dea101d8 100644
--- a/haddock-test/src/Test/Haddock/Config.hs
+++ b/haddock-test/src/Test/Haddock/Config.hs
@@ -42,7 +42,11 @@ data TestPackage = TestPackage
data CheckConfig c = CheckConfig
- { ccfgRead :: String -> String -> Maybe c
+ { ccfgRead :: String -> Maybe c
+ -- ^ @f contents@ parses file contents @contents@ to
+ -- produce a thing to be compared.
+ , ccfgClean :: String -> c -> c
+ -- ^ @f fname x@ cleans @x@ to such that it can be compared
, ccfgDump :: c -> String
, ccfgEqual :: c -> c -> Bool
}