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

Failing test: testPadDateStr(org.archive.wayback.util.TimestampTest): padEnd expected:<...28...> but was:<...31...> #231

Closed
rossh opened this issue Mar 30, 2015 · 1 comment

Comments

@rossh
Copy link
Contributor

rossh commented Mar 30, 2015

Hi guys, I'm getting the following test failure:

Failed tests: testPadDateStr(org.archive.wayback.util.TimestampTest): padEnd expected:<...28...> but was:<...31...>

This is happening because Timestamp.getDaysInMonthBound has a bug in it which doesn't return back the correct maximum day of the month for months which don't have a 29th, 30th and 31st e.g. February. We've fixed it and will do a pull request.

@kris-sigur
Copy link
Member

This is a naughty little bug. Thanks for tracking it down. I'll see about getting this merged later today.

kris-sigur added a commit to kris-sigur/openwayback that referenced this issue Mar 31, 2015
kris-sigur pushed a commit to kris-sigur/openwayback that referenced this issue Mar 31, 2015
kris-sigur added a commit to kris-sigur/openwayback that referenced this issue Mar 31, 2015
@kris-sigur kris-sigur mentioned this issue Mar 31, 2015
kris-sigur pushed a commit that referenced this issue Mar 31, 2015
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

No branches or pull requests

2 participants