I was surprised to discover this - illustrated by test char_is_never_abcdef.
QCheck reports a 'd' counterexample, while QCheck2 shrinks it to a:
Test char is never produces 'abcdef' failed (0 shrink steps): | Test char is never produces 'abcdef' failed (1 shrink steps):
'd' | 'a'
This is a defect in QCheck.char IMO - users would expect it to shrink.
Originally posted by @jmid in #153 (comment)
I was surprised to discover this - illustrated by test
char_is_never_abcdef.QCheckreports a'd'counterexample, whileQCheck2shrinks it toa:This is a defect in
QCheck.charIMO - users would expect it to shrink.Originally posted by @jmid in #153 (comment)