Merge branch 'master' of https://gitbox.apache.org/repos/asf/commons-lang.git
This commit is contained in:
commit
528e4c7655
2
pom.xml
2
pom.xml
|
@ -603,7 +603,7 @@
|
|||
<commons.encoding>utf-8</commons.encoding>
|
||||
|
||||
<checkstyle.plugin.version>3.1.1</checkstyle.plugin.version>
|
||||
<checkstyle.version>8.34</checkstyle.version>
|
||||
<checkstyle.version>8.35</checkstyle.version>
|
||||
<checkstyle.configdir>src/site/resources/checkstyle</checkstyle.configdir>
|
||||
|
||||
<spotbugs.plugin.version>4.0.4</spotbugs.plugin.version>
|
||||
|
|
|
@ -45,6 +45,7 @@ import java.util.regex.PatternSyntaxException;
|
|||
import org.apache.commons.lang3.mutable.MutableInt;
|
||||
import org.apache.commons.lang3.text.WordUtils;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
|
||||
/**
|
||||
* Unit tests for methods of {@link org.apache.commons.lang3.StringUtils}
|
||||
|
@ -1341,6 +1342,15 @@ public class StringUtilsTest {
|
|||
assertEquals("foo2", StringUtils.join(MIXED_TYPE_LIST));
|
||||
}
|
||||
|
||||
@Disabled
|
||||
@Test
|
||||
public void testLang1593() {
|
||||
final int[] arr = new int[] {1, 2, 3, 4, 5, 6, 7};
|
||||
final String expected = StringUtils.join(arr, '-');
|
||||
final String actual = StringUtils.join(arr, "-");
|
||||
assertEquals(expected, actual);
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
@Test
|
||||
public void testJoin_Objects() {
|
||||
|
|
Loading…
Reference in New Issue