Skip to content

Commit 242a8a1

Browse files
committed
Fix compilation error.
1 parent f52da80 commit 242a8a1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

rules_haskell_tests/tests/RunTests.hs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import System.Exit (ExitCode(..))
1616

1717
import qualified System.Process as Process
1818
import Test.Hspec.Core.Spec (SpecM, SpecWith)
19-
import Test.Hspec (context, hspec, it, describe, runIO, around_, after_, afterAll_)
19+
import Test.Hspec (context, hspec, it, describe, runIO, around_, afterAll_)
2020

2121
import BinModule (b)
2222
import GenModule (a)
@@ -142,7 +142,8 @@ main = hspec $ around_ printStatsHook $ do
142142
let p (stdout, stderr) = not $ any ("error" `isInfixOf`) [stdout, stderr]
143143
outputSatisfy p (bazel ["run", "//tests/repl-name-conflicts:lib@repl", "--", "-ignore-dot-ghci", "-e", "stdin"])
144144

145-
it "Repl works with remote_download_toplevel" $ after_ (shutdownBazel ".") $ do
145+
it "Repl works with remote_download_toplevel" $ do
146+
shutdownBazel "."
146147
let p (stdout, stderr) = not $ any ("error" `isInfixOf`) [stdout, stderr]
147148
withSystemTempDirectory "bazel_disk_cache" $ \tmp_disk_cache -> do
148149
assertSuccess $ bazel ["run", "//tests/multi_repl:c_only_repl", "--disk_cache=" <> tmp_disk_cache]

0 commit comments

Comments
 (0)