Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Test coverage improvements #28
In response to issue #26 this PR increases the coverage generally (all perl subs are now covered, even parse()) and also includes a number of tests of strptime for both regression and also TODO tests for these bugs:
There's also one TODO test for what I believe is a bug in that the strftime output with %s (to give epoch time) appears to be timezone dependent.
Note that some of the new tests generate "garbage at end of string in strptime" warnings which might indicate further issues with strptime.
This PR is submitted as part of the CPAN PR Challenge.
Merged! Thanks for spending time on this :)
Noticed the %s tests with strptime() weren't passing. Looks like it doesn't handle GMT at all, I'll have to fix that.