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 2020/03/14 14:22:02 UTC

[commons-collections] 19/20: Fix ShapeTest typos

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

commit e3484deb5125a284f0250b7c8208fdedeb3cafe7
Author: Alex Herbert <ah...@apache.org>
AuthorDate: Sat Mar 14 07:59:12 2020 +0000

    Fix ShapeTest typos
---
 .../org/apache/commons/collections4/bloomfilter/hasher/ShapeTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/test/java/org/apache/commons/collections4/bloomfilter/hasher/ShapeTest.java b/src/test/java/org/apache/commons/collections4/bloomfilter/hasher/ShapeTest.java
index 2a2a038..af7f0b1 100644
--- a/src/test/java/org/apache/commons/collections4/bloomfilter/hasher/ShapeTest.java
+++ b/src/test/java/org/apache/commons/collections4/bloomfilter/hasher/ShapeTest.java
@@ -314,10 +314,10 @@ public class ShapeTest {
     }
 
     /**
-     * Tests that if the number of bits is less than 8 an exception is thrown
+     * Tests that if the number of bits is less than 1 an exception is thrown
      */
     @Test
-    public void constructor_probability_bits_hash__BadNumberOfBitsTest() {
+    public void constructor_probability_bits_hash_BadNumberOfBitsTest() {
         try {
             new Shape(testFunction, 0.5, 0, 1);
             fail("Should have thrown IllegalArgumentException");