aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2015-10-30 21:33:27 +0100
committerDaniel Gröber <dxld@darkboxed.org>2015-10-30 21:33:27 +0100
commit1ae35dd74cf0c60685f4c862c801afaa01aff623 (patch)
tree76fee4088ecd086157657bd3dabcdabbabbeaf9e /tests
parent3136610997c233937573953cc353b5833e3d8ead (diff)
Fix wrong Cabal version being built in spec
Diffstat (limited to 'tests')
-rw-r--r--tests/Spec.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Spec.hs b/tests/Spec.hs
index 81ea2aa..ea6aff8 100644
--- a/tests/Spec.hs
+++ b/tests/Spec.hs
@@ -57,7 +57,7 @@ main = do
])
]
- ghcVer <- ghcVersion defaultOptions
+ ghcVer <- majorVer <$> ghcVersion defaultOptions
let cabalVers = concat $ map snd $ dropWhile ((<ghcVer) . fst) vers