Better error message

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/collections/trunk@131327 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stephen Colebourne 2003-11-04 23:34:46 +00:00
parent 429c850d43
commit 99fdf11f8a
1 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
/* /*
* $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/Attic/AbstractTestCollection.java,v 1.7 2003/10/31 01:23:10 scolebourne Exp $ * $Header: /home/jerenkrantz/tmp/commons/commons-convert/cvs/home/cvs/jakarta-commons//collections/src/test/org/apache/commons/collections/Attic/AbstractTestCollection.java,v 1.8 2003/11/04 23:34:46 scolebourne Exp $
* ==================================================================== * ====================================================================
* *
* The Apache Software License, Version 1.1 * The Apache Software License, Version 1.1
@ -148,7 +148,7 @@ import org.apache.commons.collections.pairs.DefaultMapEntry;
* you may still use this base set of cases. Simply override the * you may still use this base set of cases. Simply override the
* test case (method) your {@link Collection} fails. * test case (method) your {@link Collection} fails.
* *
* @version $Revision: 1.7 $ $Date: 2003/10/31 01:23:10 $ * @version $Revision: 1.8 $ $Date: 2003/11/04 23:34:46 $
* *
* @author Rodney Waldhoff * @author Rodney Waldhoff
* @author Paul Jack * @author Paul Jack
@ -913,7 +913,7 @@ public abstract class AbstractTestCollection extends AbstractTestObject {
int size = collection.size(); int size = collection.size();
for (int i = 0; i < elements.length; i++) { for (int i = 0; i < elements.length; i++) {
resetFull(); resetFull();
assertTrue("Collection should remove extant element", assertTrue("Collection should remove extant element: " + elements[i],
collection.remove(elements[i])); collection.remove(elements[i]));
// if the elements aren't distinguishable, we can just remove a // if the elements aren't distinguishable, we can just remove a