You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/05/25 13:44:23 UTC
(commons-lang) 07/10: Use longer lines
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-lang.git
commit b5dd57397e73bebbf0406ea4e7f37bea70ffef4f
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat May 25 09:34:53 2024 -0400
Use longer lines
---
.../org/apache/commons/lang3/time/DurationFormatUtilsTest.java | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java b/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java
index 6a0481249..e5441fb92 100644
--- a/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java
+++ b/src/test/java/org/apache/commons/lang3/time/DurationFormatUtilsTest.java
@@ -204,12 +204,8 @@ public class DurationFormatUtilsTest extends AbstractLangTest {
@Test
public void testEmptyOptionals() {
- assertEquals(
- "",
- DurationFormatUtils.formatDuration(0L, "[d'd'][H'h'][m'm'][s's']"));
- assertEquals(
- "",
- DurationFormatUtils.formatDuration(0L, "['d''h''m''s's]"));
+ assertEquals("", DurationFormatUtils.formatDuration(0L, "[d'd'][H'h'][m'm'][s's']"));
+ assertEquals("", DurationFormatUtils.formatDuration(0L, "['d''h''m''s's]"));
}
@Test