From 438716a839ff94ef72f7e261e7fb1114e482cb39 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Mon, 15 Jun 2020 09:17:23 -0400 Subject: [PATCH] Add edge case. --- src/test/java/org/apache/commons/lang3/StringUtilsTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/java/org/apache/commons/lang3/StringUtilsTest.java b/src/test/java/org/apache/commons/lang3/StringUtilsTest.java index a83a34bef..3230aa041 100644 --- a/src/test/java/org/apache/commons/lang3/StringUtilsTest.java +++ b/src/test/java/org/apache/commons/lang3/StringUtilsTest.java @@ -1357,6 +1357,7 @@ public class StringUtilsTest { assertEquals("a,b,c", StringUtils.joinWith(",", "a", "b", "c")); assertEquals(",a,", StringUtils.joinWith(",", null, "a", "")); + assertEquals(",a,", StringUtils.joinWith(",", "", "a", "")); assertEquals("ab", StringUtils.joinWith(null, "a", "b")); }