From a18bbb2af92e9b4337e7f930cb80754f2408bcfd Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Tue, 11 Feb 2020 12:56:48 +0100 Subject: Revert "Fix Cabal version selection for Stack (esp. build-type:Custom)" This reverts commit 04c2d34f1874bc198288d33c784bc26f89280ee2. --- tests/CompileTest.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/CompileTest.hs b/tests/CompileTest.hs index 88ba44e..77698c5 100644 --- a/tests/CompileTest.hs +++ b/tests/CompileTest.hs @@ -152,11 +152,11 @@ testCabalVersions versions = do mcabalVersions <- runMaybeT $ listCabalVersions (Just db) case mcabalVersions of Just [hdver] -> - return $ che0 (CabalVersion hdver) [db] + return $ che0 (CabalVersion hdver) (Just db) _ -> - return $ che0 (CabalHEAD ()) [] + return $ che0 (CabalHEAD ()) Nothing (CabalVersion ver) -> - return $ che0 (CabalVersion ver) [] + return $ che0 (CabalVersion ver) Nothing compileHelper che -- cgit v1.2.3