nine0703 commented on code in PR #1596:
URL: https://github.com/apache/commons-lang/pull/1596#discussion_r2803261484
##########
src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java:
##########
@@ -473,6 +473,53 @@ void testFormatPeriod() {
assertEquals("helloworld", DurationFormatUtils.formatPeriod(time1970,
time, "'hello''world'"));
}
+ /** Covers negative-day borrowing across month boundary */
+ @Test
+ void testFormatPeriodISONegativeDaysBorrowAcrossMonth() {
+ final TimeZone tz = TimeZones.getTimeZone("GMT-3");
Review Comment:
Good point, that makes sense. I’ve renamed the test and moved the
implementation detail to a comment. Thanks for the suggestion!
--
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]