nine0703 opened a new pull request, #1596: URL: https://github.com/apache/commons-lang/pull/1596
Adds unit tests covering month-boundary and leap-year cases that trigger the internal negative-days borrowing logic in `DurationFormatUtils.formatPeriod`. These tests improve coverage for scenarios previously noted by a TODO comment regarding missing JaCoCo coverage. The obsolete TODO comment has been removed since the relevant paths are now exercised by tests. * [x] Read the contribution guidelines (CONTRIBUTING.md). * [x] Read the ASF Generative Tooling Guidance. * [x] Run a successful build using the default Maven goal (`mvn`). * [x] Write unit tests that match the behavioral coverage improvement. * [x] Write a pull request description explaining what and why. AI usage disclosure: Yes. ChatGPT (OpenAI) was used to discuss testing strategy and help draft the test cases and PR description. All code and tests were reviewed and validated manually before submission. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
