Problem Shrinking *time.Time
Closed this issue · 2 comments
anisjonischkeit commented
gopter/arbitrary/arbitraries.go
Line 26 in f24d09d
Really sorry about this, turns out I've messed up on the types of the Shrinker. Shrunk values are still time.Time
rather than *time.Time
. I'll make some time to fix this up over the next few days.
untoldwind commented
I kind of realized the same, because there already is a way to convert a generator to a pointer-generator.
The current version should fix this problem
anisjonischkeit commented
Oh nice, had no idea about gen.PtrOf
.