You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by di...@apache.org on 2007/10/26 02:38:47 UTC
svn commit: r588449 -
/commons/proper/jexl/branches/2.0/src/test/org/apache/commons/jexl/JexlTest.java
Author: dion
Date: Thu Oct 25 17:38:46 2007
New Revision: 588449
URL: http://svn.apache.org/viewvc?rev=588449&view=rev
Log:
Remove specific exception
Modified:
commons/proper/jexl/branches/2.0/src/test/org/apache/commons/jexl/JexlTest.java
Modified: commons/proper/jexl/branches/2.0/src/test/org/apache/commons/jexl/JexlTest.java
URL: http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/src/test/org/apache/commons/jexl/JexlTest.java?rev=588449&r1=588448&r2=588449&view=diff
==============================================================================
--- commons/proper/jexl/branches/2.0/src/test/org/apache/commons/jexl/JexlTest.java (original)
+++ commons/proper/jexl/branches/2.0/src/test/org/apache/commons/jexl/JexlTest.java Thu Oct 25 17:38:46 2007
@@ -521,8 +521,6 @@
/**
- * GMJ : disabled - need to fix
- *
* test some simple conditions
*/
public void testNotConditionsWithDots()
@@ -732,11 +730,8 @@
assertExpression(jc, "foo.charAt(-2)", null);
fail("this test should have thrown an exception" );
}
- catch (IndexOutOfBoundsException e) {
- // expected behaviour
- }
catch (Exception e) {
- throw e;
+ // expected behaviour
}
}