Fix a test
This commit is contained in:
parent
c1787cc07a
commit
7debccf695
|
@ -276,7 +276,7 @@ public class CustomListUnitTest {
|
||||||
list.add("baeldung");
|
list.add("baeldung");
|
||||||
Iterator<Object> iterator = list.iterator();
|
Iterator<Object> iterator = list.iterator();
|
||||||
|
|
||||||
assertTrue(iterator.hasNext());
|
iterator.next();
|
||||||
assertFalse(iterator.hasNext());
|
assertFalse(iterator.hasNext());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue