Author: sebb
Date: Mon Feb 21 20:12:03 2011
New Revision: 1073126
URL: http://svn.apache.org/viewvc?rev=1073126&view=rev
Log:
Fail on error, rather than printing to stdout
Modified:
commons/proper/math/branches/MATH_2_X/src/test/java/org/apache/commons/math/util/FastMathStrictComparisonTest.java
Modified:
commons/proper/math/branches/MATH_2_X/src/test/java/org/apache/commons/math/util/FastMathStrictComparisonTest.java
URL:
http://svn.apache.org/viewvc/commons/proper/math/branches/MATH_2_X/src/test/java/org/apache/commons/math/util/FastMathStrictComparisonTest.java?rev=1073126&r1=1073125&r2=1073126&view=diff
==============================================================================
---
commons/proper/math/branches/MATH_2_X/src/test/java/org/apache/commons/math/util/FastMathStrictComparisonTest.java
(original)
+++
commons/proper/math/branches/MATH_2_X/src/test/java/org/apache/commons/math/util/FastMathStrictComparisonTest.java
Mon Feb 21 20:12:03 2011
@@ -149,7 +149,7 @@ public class FastMathStrictComparisonTes
sb.append(" entries ");
sb.append(Arrays.toString(entries));
String message = sb.toString();
- final boolean fatal = false;
+ final boolean fatal = true;
if (fatal) {
Assert.fail(message);
} else {