Skip to content

Commit e9614ce

Browse files
committed
Remove const
1 parent 8f585b6 commit e9614ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rules_haskell_tests/tests/RunTests.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ bazelQuery q = lines <$> runIO (Process.readProcess "bazel" ["query", q] "")
171171
shutdownBazel :: IO ()
172172
shutdownBazel = do
173173
-- Related to https://github.com/tweag/rules_haskell/issues/2089
174-
-- We experience intermittent "Exit Code: ExitFailure (-9)" errors. Added the
175-
-- printMemory calls to help us debug when the error happens again.
174+
-- We experience intermittent "Exit Code: ExitFailure (-9)" errors. Shutdown
175+
-- Bazel when done executing tests for the workspace.
176176
assertSuccess (bazel ["shutdown"])
177177
pure ()
178178

@@ -181,7 +181,7 @@ printMemoryHook :: IO () -> IO ()
181181
printMemoryHook action = bracket_
182182
(printMemory "BEFORE")
183183
(printMemory "AFTER")
184-
(const action)
184+
action
185185

186186
-- | Print information about the current memory state to debug intermittent failures
187187
-- Related to https://github.com/tweag/rules_haskell/issues/2089

0 commit comments

Comments
 (0)