Closed kderme closed 5 years ago
Not sure what actually forced the exception in the ci, but I think this fixes the problem.
Ah yes, I thought we had fixed this, but it seems we only fixed it for the MemoryReference
example (and in the readme).
The ErrorEncountered
and ShrinkingProps
examples seems to have the same problem, but we haven't seem them fail in the same way?
The ErrorEncountered and ShrinkingProps examples seems to have the same problem, but we haven't seem them fail in the same way?
I can also try to fix these other generators. Probably again we don't seem them fail because of laziness.
Signed-off-by: kderme k.dermenz@gmail.com Related issue https://github.com/advancedtelematic/quickcheck-state-machine/issues/327
Note how this exception, which appears very often is most of the times hidden because of laziness:
So the generation creates the exception many times, but the precondition hides it, since it never evaluates the undefined thunk.