mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -255,4 +255,11 @@ public class ListUtilTest {
|
||||
final CopyOnWriteArrayList<String> strings = ListUtil.ofCopyOnWrite("a", "b");
|
||||
Assertions.assertEquals(2, strings.size());
|
||||
}
|
||||
|
||||
@Test
|
||||
void reverseNewTest() {
|
||||
final List<Integer> view = ListUtil.view(1, 2, 3);
|
||||
final List<Integer> reverse = ListUtil.reverseNew(view);
|
||||
Assertions.assertEquals("[3, 2, 1]", reverse.toString());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user