Skip to content

Commit

Permalink
Add edge case.
Browse files Browse the repository at this point in the history
  • Loading branch information
garydgregory committed Jun 15, 2020
1 parent cf0778a commit 438716a
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -1357,6 +1357,7 @@ public void testJoinWith() {

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"));
}
Expand Down

0 comments on commit 438716a

Please sign in to comment.