mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-04-19 03:01:48 +08:00
Update hutool-core/src/test/java/cn/hutool/core/stream/EntryStreamTest.java
This commit is contained in:
parent
6d3f296d70
commit
c1b72a9bf1
@ -134,7 +134,7 @@ public class EntryStreamTest {
|
||||
final List<Integer> values = new ArrayList<>();
|
||||
EntryStream.of(Arrays.asList(new Entry<>(1, 1), new Entry<>(1, 2), new Entry<>(2, 1), new Entry<>(2, 2)))
|
||||
.peekValue(values::add)
|
||||
.collect(Collectors.toList());
|
||||
.toList();
|
||||
Assert.assertEquals(Arrays.asList(1, 2, 1, 2), values);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user