aboutsummaryrefslogtreecommitdiff
path: root/haddock-test/src/Test
diff options
context:
space:
mode:
authorPhil de Joux <philderbeast@gmail.com>2022-07-24 07:45:59 -0400
committerGitHub <noreply@github.com>2022-07-24 13:45:59 +0200
commit2f1711b301fea88eb1d0b40d1c04b2f0539fd882 (patch)
tree4523ca2ffd88b1002036879ab593d4abaff8d417 /haddock-test/src/Test
parent90c38242e54d1a742426e2b1b3c7d71e226811bd (diff)
Follow hlint suggestion: redundant $. (#1505)
* Follow hlint suggestion: redundant $. * Remove $ and surplus blank lines in Operators.
Diffstat (limited to 'haddock-test/src/Test')
-rw-r--r--haddock-test/src/Test/Haddock.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/haddock-test/src/Test/Haddock.hs b/haddock-test/src/Test/Haddock.hs
index 1019e815..fe547ad5 100644
--- a/haddock-test/src/Test/Haddock.hs
+++ b/haddock-test/src/Test/Haddock.hs
@@ -89,9 +89,9 @@ runHaddock cfg@(Config { .. }) = do
, pure $ "--odir=" ++ outDir cfgDirConfig tpkg
, tpkgFiles tpkg
]
- , pcEnv = Just $ cfgEnv
- , pcStdOut = Just $ haddockStdOut
- , pcStdErr = Just $ haddockStdOut
+ , pcEnv = Just cfgEnv
+ , pcStdOut = Just haddockStdOut
+ , pcStdErr = Just haddockStdOut
}
let msg = "Failed to run Haddock on test package '" ++ tpkgName tpkg ++ "'"
@@ -159,7 +159,7 @@ diffFile cfg diff file = do
hFlush stdout
handle <- runProcess' diff $ processConfig
{ pcArgs = [outFile', refFile']
- , pcStdOut = Just $ stdout
+ , pcStdOut = Just stdout
}
waitForProcess handle >> return ()
where