Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix InstantRange random nanos selection when the seconds equal the ends of the range #2441

Merged
merged 1 commit into from
Aug 31, 2021
Merged

Conversation

dump247
Copy link
Contributor

@dump247 dump247 commented Aug 27, 2021

Due to this bug, I was running into an issue where the generated value was outside of the range I passed to Arb.instant.

@sksamuel sksamuel self-requested a review August 27, 2021 11:29
@sksamuel sksamuel merged commit 56b3ac3 into kotest:master Aug 31, 2021
@dump247 dump247 deleted the fix-dates-nanos branch October 15, 2021 16:40
sksamuel pushed a commit that referenced this pull request Nov 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants