commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject svn commit: r1520623 - /commons/proper/math/trunk/src/test/java/org/apache/commons/math3/util/MathArraysTest.java
Date Fri, 06 Sep 2013 16:16:44 GMT
Author: erans
Date: Fri Sep  6 16:16:43 2013
New Revision: 1520623

URL: http://svn.apache.org/r1520623
Log:
Swapped arguments (expected vs tested).

Modified:
    commons/proper/math/trunk/src/test/java/org/apache/commons/math3/util/MathArraysTest.java

Modified: commons/proper/math/trunk/src/test/java/org/apache/commons/math3/util/MathArraysTest.java
URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/java/org/apache/commons/math3/util/MathArraysTest.java?rev=1520623&r1=1520622&r2=1520623&view=diff
==============================================================================
--- commons/proper/math/trunk/src/test/java/org/apache/commons/math3/util/MathArraysTest.java
(original)
+++ commons/proper/math/trunk/src/test/java/org/apache/commons/math3/util/MathArraysTest.java
Fri Sep  6 16:16:43 2013
@@ -994,6 +994,6 @@ public class MathArraysTest {
     @Test
     public void testNaturalZero() {
         final int[] natural = MathArrays.natural(0);
-        Assert.assertEquals(natural.length, 0);
+        Assert.assertEquals(0, natural.length);
     }
 }



Mime
View raw message