-
Notifications
You must be signed in to change notification settings - Fork 0
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
Namespace confusion #1
Comments
Thanks! This makes sense so I'll have a look into it. It might take a few days as I'm currently on vacation 😃 |
Let's see...
✔
✔
✔
✔ |
Hmmm odd. I'll see if I can get the HSpec examples working using |
Actually this (the proposed one) makes sense: import Test.Hspec
import Test.QuickCheck Because essentially it uses QuickCheck for writing the actual property-based tests and Hspec for discovering and running the tests. — Probably the examples here are based on an old version of HSpec(?) FWIW, nowadays I'm trying to get rid of all testing-tools, because with QuickCheck (and Jack) I use them only as a test-discovery mechanism. Ideally, I'd like to end up doing something like this in xmonad. 😊 |
I'm still learning Haskell and QuickCheck, but it seems like your namespaces in your icebreaker example are incorrect:
Should be:
At least that's what is suggested on the Hspec home page:
But it could just be the setup that you've got in your project.
The text was updated successfully, but these errors were encountered: