aboutsummaryrefslogtreecommitdiff
path: root/haddock-test
diff options
context:
space:
mode:
authorAlec Theriault <alec.theriault@gmail.com>2018-12-27 16:39:52 -0500
committerGitHub <noreply@github.com>2018-12-27 16:39:52 -0500
commit7a097214dff6b1f75d9c11e9b0b1bdf4031bb172 (patch)
treed938f83df11cd78a2e27c2555aa6de61931cc8e7 /haddock-test
parentc351007981df04542872f4fd7622e49e3c0a0e9f (diff)
Address deprecation warnings in `haddock-test` (#988)
Fixes #885.
Diffstat (limited to 'haddock-test')
-rw-r--r--haddock-test/src/Test/Haddock/Config.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/haddock-test/src/Test/Haddock/Config.hs b/haddock-test/src/Test/Haddock/Config.hs
index 026b5e41..51394eff 100644
--- a/haddock-test/src/Test/Haddock/Config.hs
+++ b/haddock-test/src/Test/Haddock/Config.hs
@@ -301,7 +301,7 @@ defaultDiffTool :: IO (Maybe FilePath)
defaultDiffTool =
liftM listToMaybe . filterM isAvailable $ ["colordiff", "diff"]
where
- isAvailable = liftM isJust . findProgramLocation silent
+ isAvailable = liftM isJust . findExecutable
defaultStdOut :: FilePath