Fix a test

This commit is contained in:
Nguyen Nam Thai 2018-02-18 11:08:00 +07:00
parent c1787cc07a
commit 7debccf695
1 changed files with 1 additions and 1 deletions

View File

@ -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());
} }
} }