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-statistics.git


The following commit(s) were added to refs/heads/master by this push:
     new d539133  Correct assertion message
d539133 is described below

commit d53913309c2b0549f2fa4ee66ce3c31cf634e8c9
Author: aherbert <aherb...@apache.org>
AuthorDate: Wed Dec 7 12:15:36 2022 +0000

    Correct assertion message
---
 .../java/org/apache/commons/statistics/ranking/NaturalRankingTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/commons-statistics-ranking/src/test/java/org/apache/commons/statistics/ranking/NaturalRankingTest.java
 
b/commons-statistics-ranking/src/test/java/org/apache/commons/statistics/ranking/NaturalRankingTest.java
index bf454b8..500197e 100644
--- 
a/commons-statistics-ranking/src/test/java/org/apache/commons/statistics/ranking/NaturalRankingTest.java
+++ 
b/commons-statistics-ranking/src/test/java/org/apache/commons/statistics/ranking/NaturalRankingTest.java
@@ -429,7 +429,7 @@ class NaturalRankingTest {
             }
         }
         final double p = new ChiSquareTest().chiSquareTest(counts);
-        Assertions.assertFalse(p < 1e-3, () -> "p-value too large: " + p);
+        Assertions.assertFalse(p < 1e-3, () -> "p-value too small: " + p);
     }
 
     /**

Reply via email to