commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1408324 - /commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/math/NumberUtilsTest.java
Date Mon, 12 Nov 2012 15:31:46 GMT
Author: sebb
Date: Mon Nov 12 15:31:45 2012
New Revision: 1408324

URL: http://svn.apache.org/viewvc?rev=1408324&view=rev
Log:
Wrong order of testing

Modified:
    commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/math/NumberUtilsTest.java

Modified: commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/math/NumberUtilsTest.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/math/NumberUtilsTest.java?rev=1408324&r1=1408323&r2=1408324&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/math/NumberUtilsTest.java
(original)
+++ commons/proper/lang/trunk/src/test/java/org/apache/commons/lang3/math/NumberUtilsTest.java
Mon Nov 12 15:31:45 2012
@@ -233,8 +233,8 @@ public class NumberUtilsTest {
         // LANG-822
         // ensure that the underlying negative number would create a BigDecimal
         final Number bigNum = NumberUtils.createNumber("-1.1E-700F");
-        assertEquals(BigDecimal.class,bigNum.getClass());
         assertNotNull(bigNum);
+        assertEquals(BigDecimal.class, bigNum.getClass());
 
         // Check that the code fails to create a valid number when preceeded by -- rather
than -
         try {



Mime
View raw message