Author: sebb
Date: Fri Oct  1 14:28:12 2010
New Revision: 1003545

URL: http://svn.apache.org/viewvc?rev=1003545&view=rev
Log:
Oops, should not have added fail here

Modified:
    
commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/ContinuousOutputModelTest.java

Modified: 
commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/ContinuousOutputModelTest.java
URL: 
http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/ContinuousOutputModelTest.java?rev=1003545&r1=1003544&r2=1003545&view=diff
==============================================================================
--- 
commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/ContinuousOutputModelTest.java
 (original)
+++ 
commons/proper/math/trunk/src/test/java/org/apache/commons/math/ode/ContinuousOutputModelTest.java
 Fri Oct  1 14:28:12 2010
@@ -159,12 +159,10 @@ public class ContinuousOutputModelTest
           ContinuousOutputModel otherCm = new ContinuousOutputModel();
           otherCm.handleStep(buildInterpolator(t0, y0, t1), true);
           cm.append(otherCm);
-          fail("Expecting IllegalArgumentException");
       } catch(IllegalArgumentException iae) {
-          //expected behavior
-          return true;
+          return true; // there was an allowable error
       }
-      return false;
+      return false; // no allowable error
   }
 
   private StepInterpolator buildInterpolator(double t0, double[] y0, double 
t1) {


Reply via email to