We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1d0c75 commit e975cabCopy full SHA for e975cab
src/test/java/by/andd3dfx/iterators/RecursiveIteratorTest.java
@@ -45,7 +45,7 @@ public void testNextHasNextForComplexStructure() {
45
@Ignore("TODO: change implemetation to support this case")
46
@Test
47
public void testNextForListOfEmptyLists() {
48
- List<Object> list = Arrays.asList(List.of(), List.of(List.of()));
+ List<Object> list = Arrays.asList(List.of().iterator(), List.of(List.of().iterator()).iterator());
49
var iterator = new RecursiveIterator<>(list.iterator());
50
51
List<String> result = new ArrayList<>();
0 commit comments