diff --git a/src/test/java/org/apache/commons/math/util/FastMathTest.java b/src/test/java/org/apache/commons/math/util/FastMathTest.java index 734b0d9a5..dae04aff3 100644 --- a/src/test/java/org/apache/commons/math/util/FastMathTest.java +++ b/src/test/java/org/apache/commons/math/util/FastMathTest.java @@ -1001,13 +1001,13 @@ public class FastMathTest { } } StringBuilder sb = new StringBuilder(); + sb.append(mathMethod.getReturnType().getSimpleName()); + sb.append(" "); sb.append(mathMethod.getName()); sb.append("("); String sep = ""; for(Object o : params){ sb.append(sep); - sb.append(o.getClass().getSimpleName().toLowerCase()); // Hack: assume only Float/Double are used - sb.append(" "); sb.append(o); sep=", "; }