I've encountered quickcheck giving in the tests. I've had a look at the cause but didn't find a good way to improve example generation. It's a good approach because apparently this isn't encountered often.
This change doubles the discard ratio, which is still good and fixes test case generation. IIUC this shift the cut-off on a bell curve to a point where the probability of failure is extremely low.
log section
```
Failures:
test/Language/C/Types/ParseSpec.hs:33:3:
1) Language.C.Types.Parse parses everything which is pretty-printable (C)
Gave up after 94 tests; 1000 discarded!
To rerun use: --match "/Language.C.Types.Parse/parses everything which is pretty-printable (C)/"
test/Language/C/Types/ParseSpec.hs:44:3:
2) Language.C.Types.Parse parses everything which is pretty-printable (Haskell)
Gave up after 94 tests; 1000 discarded!
To rerun use: --match "/Language.C.Types.Parse/parses everything which is pretty-printable (Haskell)/"
Randomized with seed 1695730547
```
I've encountered quickcheck giving in the tests. I've had a look at the cause but didn't find a good way to improve example generation. It's a good approach because apparently this isn't encountered often. This change doubles the discard ratio, which is still good and fixes test case generation. IIUC this shift the cut-off on a bell curve to a point where the probability of failure is extremely low.
log section
``` Failures: test/Language/C/Types/ParseSpec.hs:33:3: 1) Language.C.Types.Parse parses everything which is pretty-printable (C) Gave up after 94 tests; 1000 discarded! To rerun use: --match "/Language.C.Types.Parse/parses everything which is pretty-printable (C)/" test/Language/C/Types/ParseSpec.hs:44:3: 2) Language.C.Types.Parse parses everything which is pretty-printable (Haskell) Gave up after 94 tests; 1000 discarded! To rerun use: --match "/Language.C.Types.Parse/parses everything which is pretty-printable (Haskell)/" Randomized with seed 1695730547 ```Happy building!