We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 095f170 commit 1f6ff68Copy full SHA for 1f6ff68
hls-test-utils/src/Test/Hls/Util.hs
@@ -154,8 +154,8 @@ ignoreForGhcVersions vers = ignoreInEnv (map GhcVer vers)
154
155
-- | Mark as broken if GHC does not match only work versions.
156
onlyWorkForGhcVersions :: (GhcVersion -> Bool) -> String -> TestTree -> TestTree
157
-onlyWorkForGhcVersions pred reason =
158
- if pred ghcVersion
+onlyWorkForGhcVersions p reason =
+ if p ghcVersion
159
then id
160
else expectFailBecause reason
161
0 commit comments