From 89c19b2e72a297e4fef075ffb48ef9ac6632d44e Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Tue, 19 Sep 2017 21:54:02 +0200 Subject: tests: Remove reference to ./dist The 'distdir' argument to 'compile' is only relevant for the Cabal source dir case. --- tests/CompileTest.hs | 4 ++-- 1 file 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 -- cgit v1.2.3