commit | 9fc5424a6eecd4d95ef7a915a0abdcf6a211fdde | [log] [tgz] |
---|---|---|
author | Henri Yandell <bayard@apache.org> | Tue Jan 29 05:39:44 2008 +0000 |
committer | Henri Yandell <bayard@apache.org> | Tue Jan 29 05:39:44 2008 +0000 |
tree | 9c4b9771f74adf0d1755e3c64d369d2c5622b06c | |
parent | 3b7ca1d4a2269a1a3abcc304c7d2bf5474ae19f0 [diff] |
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
diff --git a/src/test/org/apache/commons/lang/StringUtilsTest.java b/src/test/org/apache/commons/lang/StringUtilsTest.java index f63a334..49021af 100644 --- a/src/test/org/apache/commons/lang/StringUtilsTest.java +++ b/src/test/org/apache/commons/lang/StringUtilsTest.java
@@ -1082,7 +1082,7 @@ 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