aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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