commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From er...@apache.org
Subject [7/8] commons-rng git commit: Error message formatting (unit test).
Date Fri, 23 Nov 2018 11:43:08 GMT
Error message formatting (unit test).


Project: http://git-wip-us.apache.org/repos/asf/commons-rng/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-rng/commit/ff9f7765
Tree: http://git-wip-us.apache.org/repos/asf/commons-rng/tree/ff9f7765
Diff: http://git-wip-us.apache.org/repos/asf/commons-rng/diff/ff9f7765

Branch: refs/heads/master
Commit: ff9f77656fc0e15c60b70b1afbb2816d7636f3d6
Parents: a44218d
Author: Gilles <erans@apache.org>
Authored: Fri Nov 23 12:37:26 2018 +0100
Committer: Gilles <erans@apache.org>
Committed: Fri Nov 23 12:37:26 2018 +0100

----------------------------------------------------------------------
 .../rng/sampling/distribution/ContinuousSamplerParametricTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-rng/blob/ff9f7765/commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/ContinuousSamplerParametricTest.java
----------------------------------------------------------------------
diff --git a/commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/ContinuousSamplerParametricTest.java
b/commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/ContinuousSamplerParametricTest.java
index 2cc18ce..0aa880e 100644
--- a/commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/ContinuousSamplerParametricTest.java
+++ b/commons-rng-sampling/src/test/java/org/apache/commons/rng/sampling/distribution/ContinuousSamplerParametricTest.java
@@ -126,7 +126,7 @@ public class ContinuousSamplerParametricTest {
         if ((double) numFailures / (double) numTests > 0.05) {
             Assert.fail(sampler + ": Too many failures for sample size = " + sampleSize +
                         " (" + numFailures + " out of " + numTests + " tests failed, " +
-                        "chi2=" + Arrays.toString(failedStat.toArray(new Double[0])));
+                        "chi2=" + Arrays.toString(failedStat.toArray(new Double[0])) + ")");
         }
     }
 }


Mime
View raw message