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:
Henri Yandell 2008-01-29 05:39:44 +00:00
parent 3b7ca1d4a2
commit 9fc5424a6e
1 changed files with 1 additions and 1 deletions

View File

@ -1082,7 +1082,7 @@ public class StringUtilsTest extends TestCase {
try { try {
StringUtils.replaceEachRepeatedly("abcde", new String[]{"ab", "d"}, new String[]{"d", "ab"}); StringUtils.replaceEachRepeatedly("abcde", new String[]{"ab", "d"}, new String[]{"d", "ab"});
fail("Should be a circular reference"); fail("Should be a circular reference");
} catch (IllegalArgumentException e) {} } catch (IllegalStateException e) {}
//JAVADOC TESTS END //JAVADOC TESTS END