Author: bayard
Date: Mon Jan 28 21:39:44 2008
New Revision: 616173
URL: http://svn.apache.org/viewvc?rev=616173&view=rev
Log:
Fixing the expected exception so the test doesn't fail (see LANG-180)
Modified:
commons/proper/lang/trunk/src/test/org/apache/commons/lang/StringUtilsTest.java
Modified:
commons/proper/lang/trunk/src/test/org/apache/commons/lang/StringUtilsTest.java
URL:
http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/org/apache/commons/lang/StringUtilsTest.java?rev=616173&r1=616172&r2=616173&view=diff
==============================================================================
---
commons/proper/lang/trunk/src/test/org/apache/commons/lang/StringUtilsTest.java
(original)
+++
commons/proper/lang/trunk/src/test/org/apache/commons/lang/StringUtilsTest.java
Mon Jan 28 21:39:44 2008
@@ -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