Skip to content

Commit 9f4ea9d

Browse files
committed
Fix skipIfGhcVersion
1 parent 84deb20 commit 9f4ea9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cabal-testsuite/src/Test/Cabal/Prelude.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -887,7 +887,7 @@ skipUnlessGhcVersion :: String -> TestM ()
887887
skipUnlessGhcVersion range = skipUnless ("needs ghc " ++ range) =<< isGhcVersion range
888888

889889
skipIfGhcVersion :: String -> TestM ()
890-
skipIfGhcVersion range = skipUnless ("incompatible with ghc " ++ range) =<< isGhcVersion range
890+
skipIfGhcVersion range = skipIf ("incompatible with ghc " ++ range) =<< isGhcVersion range
891891

892892
skipUnlessJavaScript :: TestM ()
893893
skipUnlessJavaScript = skipUnless "needs the JavaScript backend" =<< isJavaScript

0 commit comments

Comments
 (0)