diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2016-05-05 22:53:22 +0200 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2016-05-06 01:36:37 +0200 |
commit | 8d8a91f831af8f12fc8ef7dff46271bca8209916 (patch) | |
tree | 7d426b2a1386ede0b6048c5f015b0c66f3db2c32 /tests | |
parent | 2c5aaf8ccade84756cc6cbb64ef79446f8567f66 (diff) |
Fixes for Cabal HEAD
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Spec.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Spec.hs b/tests/Spec.hs index bade29c..961f83f 100644 --- a/tests/Spec.hs +++ b/tests/Spec.hs @@ -86,7 +86,7 @@ compilePrivatePkgDb :: Either HEAD Version -> IO (Either ExitCode FilePath) compilePrivatePkgDb (Left HEAD) = do _ <- rawSystem "rm" [ "-r", "/tmp/.ghc-mod" ] (db, commit) <- installCabalHEAD defaultOptions { verbose = True } `E.catch` - \(SomeException ex) -> error $ "Inslling cabal HEAD failed: " ++ show ex + \(SomeException ex) -> error $ "Installing cabal HEAD failed: " ++ show ex compileWithPkg "." (Just db) (Left commit) compilePrivatePkgDb (Right cabalVer) = do _ <- rawSystem "rm" [ "-r", "/tmp/.ghc-mod" ] |