diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2020-02-11 12:56:48 +0100 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2020-02-11 13:00:35 +0100 |
commit | a18bbb2af92e9b4337e7f930cb80754f2408bcfd (patch) | |
tree | da77dab383110a6c2fae82c8aa04f0e79fa3f3f4 /tests/CompileTest.hs | |
parent | 4ca6570ecda0a39fc056c239ada6c2368b4dd698 (diff) |
Revert "Fix Cabal version selection for Stack (esp. build-type:Custom)"
This reverts commit 04c2d34f1874bc198288d33c784bc26f89280ee2.
Diffstat (limited to 'tests/CompileTest.hs')
-rw-r--r-- | tests/CompileTest.hs | 6 |
1 files changed, 3 insertions, 3 deletions
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 |