This <code> doesn’t take into account the date/mon...
# kotest
s
This code doesn’t take into account the date/month portion of the specified
minDate
. So when you specify
minDate
that is after the default edge case date, it will (intermittently) fail. Here’s an example
Arb.localDate(minDate = LocalDate.now().plusDays(10))
will generate a
2021-02-28
date. I wonder if this intentional, or a bug?
s
That seems a bug. The edge case should only be included if the min is < 28th feb
s
Kk. Thanks. I can take a crack at this. Do I need to open an issue first, or I can just cut a PR?
s
you can make a one line issue just so we have something to track
s
👌