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