Github user Turan91 commented on a diff in the pull request:
https://github.com/apache/commons-lang/pull/362#discussion_r234053572
--- Diff: src/test/java/org/apache/commons/lang3/StringUtilsTest.java ---
@@ -1592,6 +1592,12 @@ public void testRepeat_StringInt() {
final String str = StringUtils.repeat("a", 10000); // bigger than
pad limit
assertEquals(10000, str.length());
assertTrue(StringUtils.containsOnly(str, 'a'));
+ try {
+ StringUtils.repeat("aaa",Integer.MAX_VALUE);
--- End diff --
Good spot. Thanks
---