minDate not respected in Arb.localDate #2369
Labels
bug 🐛
Issues that report a problem or error in the code.
property-testing 📏
Related to the property testing mechanisms within the testing framework.
Milestone
Which version of Kotest are you using
Version 4.6
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 a2021-02-28
dateThe text was updated successfully, but these errors were encountered: