aboutsummaryrefslogtreecommitdiff
path: root/hoogle-test/Main.hs
diff options
context:
space:
mode:
authoralexbiehl <alex.biehl@gmail.com>2017-08-21 20:05:42 +0200
committeralexbiehl <alex.biehl@gmail.com>2017-08-21 20:05:42 +0200
commit7a71af839bd71992a36d97650004c73bf11fa436 (patch)
treee64afbc9df5c97fde6ac6433e42f28df8a4acf49 /hoogle-test/Main.hs
parentc8a01b83be52e45d3890db173ffe7b09ccd4f351 (diff)
parent740458ac4d2acf197f2ef8dc94a66f9b160b9c3c (diff)
Merge remote-tracking branch 'origin/master' into ghc-head
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
}