aboutsummaryrefslogtreecommitdiff
path: root/hoogle-test/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'hoogle-test/Main.hs')
-rw-r--r--hoogle-test/Main.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/hoogle-test/Main.hs b/hoogle-test/Main.hs
index 59a98fd0..d19ae585 100644
--- a/hoogle-test/Main.hs
+++ b/hoogle-test/Main.hs
@@ -1,10 +1,12 @@
{-# LANGUAGE CPP #-}
+import Data.Function
import System.Environment
import System.FilePath
import Test.Haddock
+import Test.Haddock.Utils
checkConfig :: CheckConfig String
@@ -12,7 +14,7 @@ checkConfig = CheckConfig
{ ccfgRead = Just
, ccfgClean = \_ -> id
, ccfgDump = id
- , ccfgEqual = (==)
+ , ccfgEqual = (==) `on` crlfToLf
}