aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2017-09-19 21:54:02 +0200
committerDaniel Gröber <dxld@darkboxed.org>2017-09-25 13:11:28 +0200
commit89c19b2e72a297e4fef075ffb48ef9ac6632d44e (patch)
treed51d03f509a953536fe5b2faa96b03c89db47091
parent2d4503cd1a72b50e9362ecf50dc8bd51e95534d2 (diff)
tests: Remove reference to ./dist
The 'distdir' argument to 'compile' is only relevant for the Cabal source dir case.
-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