diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2019-01-26 02:07:40 +0100 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2019-01-26 18:45:52 +0100 |
commit | 74ff66fe9997853265071ae99b32f6dd6525f605 (patch) | |
tree | 2f20bc17fcb493a5b97e261353f0d0657551695c | |
parent | f55c951ddaffec1f05e7215017774a80acd6d5e2 (diff) |
compile-test: Update Cabal versions and bounds to reflect reality
-rw-r--r-- | tests/CompileTest.hs | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/CompileTest.hs b/tests/CompileTest.hs index 19727c4..bae5ad0 100644 --- a/tests/CompileTest.hs +++ b/tests/CompileTest.hs @@ -112,7 +112,7 @@ allCabalVersions (GhcVersion ghc_ver) = let , "1.22.7.0" , "1.22.8.0" , "1.24.0.0" - , "1.24.1.0" + -- , "1.24.1.0" -- deprecated , "1.24.2.0" , "2.0.0.2" , "2.0.1.0" @@ -121,6 +121,7 @@ allCabalVersions (GhcVersion ghc_ver) = let , "2.2.0.1" , "2.4.0.0" , "2.4.0.1" + , "2.4.1.0" ] constraint :: VersionRange @@ -136,11 +137,9 @@ allCabalVersions (GhcVersion ghc_ver) = let [ ("7.10" , ">= 1.22.2 && < 2") , ("8.0.1", ">= 1.24 ") , ("8.0.2", ">= 1.24.2 ") - , ("8.2.1", ">= 2.0.0.2 ") - , ("8.2.2", ">= 2.0.0.2 ") - , ("8.4.1", ">= 2.0.0.2 ") - , ("8.4", ">= 2.2.0.1 ") - , ("8.6", ">= 2.4.0.0 ") + , ("8.2", ">= 1.24.2.0 ") + , ("8.4", ">= 2.0.0.2 ") + , ("8.6", ">= 2.0.0.2 ") ] in reverse $ filter (flip withinRange'CH constraint) cabal_versions |