aboutsummaryrefslogtreecommitdiff
path: root/tests/CompileTest.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/CompileTest.hs')
-rw-r--r--tests/CompileTest.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/CompileTest.hs b/tests/CompileTest.hs
index a451fdd..4d22b67 100644
--- a/tests/CompileTest.hs
+++ b/tests/CompileTest.hs
@@ -135,14 +135,14 @@ compilePrivatePkgDb (Left HEAD) = do
compilePrivatePkgDb (Right cabalVer) = do
db <- installCabal defaultOptions { verbose = True } cabalVer `E.catch`
\(SomeException _) -> do
- errorInstallCabal cabalVer "dist"
+ errorInstallCabal cabalVer "/does-not-exist"
compileWithPkg (Just db) (Right cabalVer)
compileWithPkg :: Maybe FilePath
-> Either String Version
-> IO (Either ExitCode FilePath)
compileWithPkg mdb ver =
- compile "dist" defaultOptions { verbose = True } $
+ compile "/does-not-exist" defaultOptions { verbose = True } $
Compile Nothing mdb ver [cabalPkgId ver]
cabalPkgId :: Either String Version -> String