Skip to content

Commit e975cab

Browse files
committed
Adjusted data for tests
1 parent e1d0c75 commit e975cab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/by/andd3dfx/iterators/RecursiveIteratorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public void testNextHasNextForComplexStructure() {
4545
@Ignore("TODO: change implemetation to support this case")
4646
@Test
4747
public void testNextForListOfEmptyLists() {
48-
List<Object> list = Arrays.asList(List.of(), List.of(List.of()));
48+
List<Object> list = Arrays.asList(List.of().iterator(), List.of(List.of().iterator()).iterator());
4949
var iterator = new RecursiveIterator<>(list.iterator());
5050

5151
List<String> result = new ArrayList<>();

0 commit comments

Comments
 (0)