-
-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when updating hspec to 2.9.0, must change configFastFail to configFailFast #1058
Comments
If you like oneliners like me, change to the exercise path and: ❯ sed -i 's/configFastFail/configFailFast/g' test/Tests.hs Thanks for pointing that out! |
What's the status of this? I just ran into the same issue with the pangram exercise. (I'm doing the exercises in the online editor, so I think I cannot adjust the test files manually.) Edit: I've realized there's a PR for this. I've restated my question there. |
Can you point me to the PR, please? I've just hit the same error (and this bug is over one month old). |
The problem is that #1158 isn't merged yet; working on it as we speak. |
So PR was merged, and my error changed to
So it looks like the infrastructure is still broken, and CI allowed to merge a broken PR. Am I wrong? |
...and now I cannot build locally anymore with |
Please open a forum thread and post your system information and taken actions there. |
How my system information relates to |
Silliness on my part aside, I do not suggest you post on the forum without reason. Discussions on the forum suggest the problems related to the GHC 9.0.2 -> 9.2.7 upgrade have been fixed. If you are still having trouble, probably something else is going on and please take it to the forum. |
I've been just able to successfully run a test in the online editor. |
Yes, it looks like linker error on exercism site was fixed. My tests passed. |
and just FYI: I have fixed the local build by switching |
My test wasn't compiling (which has not be modified at all, fresh from download), and cabal reported this error:
Searching online I found the
hspec
changelog (the latest version).It reports that in version "2.9.0":
The important line: "Rename configFastFail to configFailFast"
By updating the import, everything compiled just fine.
I'm not making a pr because, no one else seems to have reported it, so I'm not sure I've messed up something or is a real "bug".
If I haven't messed up, then the only corrections to be applied are:
import Test.Hspec.Runner (configFailFast, defaultConfig, hspecWith)
on line 9main = hspecWith defaultConfig {configFailFast = True} specs
on line 14The text was updated successfully, but these errors were encountered: