You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2019/12/09 00:19:23 UTC

[commons-numbers] branch master updated: Replace getArgument() with arg() in test class.

This is an automated email from the ASF dual-hosted git repository.

aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-numbers.git


The following commit(s) were added to refs/heads/master by this push:
     new 04bed94  Replace getArgument() with arg() in test class.
04bed94 is described below

commit 04bed94ba343864871e756e05350f44d2c1b88b0
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Mon Dec 9 00:19:19 2019 +0000

    Replace getArgument() with arg() in test class.
---
 .../org/apache/commons/numbers/complex/streams/ComplexUtilsTest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commons-numbers-complex-streams/src/test/java/org/apache/commons/numbers/complex/streams/ComplexUtilsTest.java b/commons-numbers-complex-streams/src/test/java/org/apache/commons/numbers/complex/streams/ComplexUtilsTest.java
index cd31e1f..ca692ae 100644
--- a/commons-numbers-complex-streams/src/test/java/org/apache/commons/numbers/complex/streams/ComplexUtilsTest.java
+++ b/commons-numbers-complex-streams/src/test/java/org/apache/commons/numbers/complex/streams/ComplexUtilsTest.java
@@ -766,7 +766,7 @@ public class ComplexUtilsTest {
         double[] observed = ComplexUtils.arg(c);
         Assertions.assertEquals(c.length, observed.length);
         for (int i = 0; i < c.length; i++) {
-            Assertions.assertEquals(c[i].getArgument(), observed[i], 0);
+            Assertions.assertEquals(c[i].arg(), observed[i], 0);
         }
     }
 }