This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-collections.git
The following commit(s) were added to refs/heads/master by this push: new fa7296837 Use proper JUnit API fa7296837 is described below commit fa729683785b5942594ff7cdb20db696e8e4884c Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Fri Mar 22 15:59:35 2024 -0400 Use proper JUnit API --- .../commons/collections4/multimap/AbstractMultiValuedMapTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/java/org/apache/commons/collections4/multimap/AbstractMultiValuedMapTest.java b/src/test/java/org/apache/commons/collections4/multimap/AbstractMultiValuedMapTest.java index c62f689a1..bc96e5697 100644 --- a/src/test/java/org/apache/commons/collections4/multimap/AbstractMultiValuedMapTest.java +++ b/src/test/java/org/apache/commons/collections4/multimap/AbstractMultiValuedMapTest.java @@ -794,13 +794,13 @@ public abstract class AbstractMultiValuedMapTest<K, V> extends AbstractObjectTes // public void testIterator_Key() { // final MultiValuedMap<K, V> map = makeFullMap(); // Iterator<V> it = map.iterator("one"); -// assertEquals(true, it.hasNext()); +// assertTrue( it.hasNext()); // Set<V> values = new HashSet<V>(); // while (it.hasNext()) { // values.add(it.next()); // } -// assertEquals(true, values.contains("un")); -// assertEquals(true, values.contains("uno")); +// assertTrue( values.contains("un")); +// assertTrue( values.contains("uno")); // assertEquals(false, map.iterator("A").hasNext()); // assertEquals(false, map.iterator("A").hasNext()); // if (!isAddSupported()) { @@ -808,7 +808,7 @@ public abstract class AbstractMultiValuedMapTest<K, V> extends AbstractObjectTes // } // map.put((K) "A", (V) "AA"); // it = map.iterator("A"); -// assertEquals(true, it.hasNext()); +// assertTrue( it.hasNext()); // it.next(); // assertEquals(false, it.hasNext()); // }