You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ba...@apache.org on 2010/04/07 09:32:08 UTC
svn commit: r931457 -
/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/mutable/MutableFloatTest.java
Author: bayard
Date: Wed Apr 7 07:32:08 2010
New Revision: 931457
URL: http://svn.apache.org/viewvc?rev=931457&view=rev
Log:
Bug in copy and paste, now tests MutableFloat not MutableDouble for String constructor
Modified:
commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/mutable/MutableFloatTest.java
Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/mutable/MutableFloatTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/mutable/MutableFloatTest.java?rev=931457&r1=931456&r2=931457&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/mutable/MutableFloatTest.java (original)
+++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/mutable/MutableFloatTest.java Wed Apr 7 07:32:08 2010
@@ -39,7 +39,7 @@ public class MutableFloatTest extends Te
assertEquals(2f, new MutableFloat(new Float(2f)).floatValue(), 0.0001f);
assertEquals(3f, new MutableFloat(new MutableFloat(3f)).floatValue(), 0.0001f);
- assertEquals(2f, new MutableDouble("2.0").floatValue(), 0.0001f);
+ assertEquals(2f, new MutableFloat("2.0").floatValue(), 0.0001f);
try {
new MutableFloat((Number)null);