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 2020/06/15 13:17:28 UTC

[commons-lang] branch master updated: Add edge case.

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


The following commit(s) were added to refs/heads/master by this push:
     new 438716a  Add edge case.
438716a is described below

commit 438716a839ff94ef72f7e261e7fb1114e482cb39
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Jun 15 09:17:23 2020 -0400

    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 a83a34b..3230aa0 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"));
     }