-
-
Notifications
You must be signed in to change notification settings - Fork 165
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
Some tests can fail in date module #163
Comments
By spamming
I'm continuing to investigate the source of the problem. |
Ok thanks for investigating that, I will take a look. |
I found the problem! In this function, the When I print the lower bound I got this:
But we want to have this:
Setting the variable to 1 instead of 0 definitely solves the problem. I'll do the PR. |
Good job, I was also looking at the problem right now, and there was a problem with parsing ISO date in tests in parseISOFormattedStringToTm() and parseISOFormattedStringToTimePoint() functions, I fixed it: #168. It took local time instead of UTC and shifted hours but we dont want that, So we managed to find two bugs in there, nice 😄 |
Marking as resolved |
Since the data in the tests is chosen randomly, it's possible for a test not to work every time, and for a bug to remain undiscovered if the tests are only run a few times.
The following test failed while I was coding other tests for issue #153:
In theory it's not my code that's causing it to fail, but I'm still investigating to be sure.
The text was updated successfully, but these errors were encountered: