aboutsummaryrefslogtreecommitdiff
path: root/tests/CompileTest.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/CompileTest.hs')
-rw-r--r--tests/CompileTest.hs6
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