Fixing the expected exception so the test doesn't fail (see LANG-180)
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@616173 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3b7ca1d4a2
commit
9fc5424a6e
|
@ -1082,7 +1082,7 @@ public class StringUtilsTest extends TestCase {
|
|||
try {
|
||||
StringUtils.replaceEachRepeatedly("abcde", new String[]{"ab", "d"}, new String[]{"d", "ab"});
|
||||
fail("Should be a circular reference");
|
||||
} catch (IllegalArgumentException e) {}
|
||||
} catch (IllegalStateException e) {}
|
||||
|
||||
//JAVADOC TESTS END
|
||||
|
||||
|
|
Loading…
Reference in New Issue