Add edge case.
This commit is contained in:
parent
cf0778a5ad
commit
438716a839
|
@ -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"));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue