Closed L7R7 closed 2 years ago
Jup, there's an instance missing here: https://github.com/NorfairKing/sydtest/blob/e55fad0f6b8058a9b44c6c0d66bdd3c3be556d71/sydtest-hedgehog/src/Test/Syd/Hedgehog.hs#L32-L35 You can take inspiration from here: https://github.com/NorfairKing/sydtest/blob/e55fad0f6b8058a9b44c6c0d66bdd3c3be556d71/sydtest/src/Test/Syd/Run.hs#L167-L180
I'd like to test a WAI app using Hedgehog. However, I don't get it to compile. The QuickCheck version does compile. The following is a minimal example of what I'd like to do (it doesn't make a lot of sense but it's enough to demonstrate the problem:
The error is:
Am I missing something? Is there a way to support hedgehog properties or do I need to use QuickCheck for such tests?