Skip to content

Commit 08ced40

Browse files
author
Tomasz Lelek
committed
BAEL-602 remove unnecessary comment
1 parent e35c452 commit 08ced40

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎jooq/src/test/java/com/baeldung/JOOLTest.java‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ public void givenSeq_whenManipulateSeq_seqShouldHaveNewElementsInIt() {
9494
);
9595

9696
assertEquals(
97-
Seq.of(1, 2, 3, 4).partition(i -> i % 2 != 0).map((first, second) -> tuple(first.toList(), second.toList())),
98-
tuple(Arrays.asList(1, 3), Arrays.asList(2, 4))
97+
Seq.of(1, 2, 3, 4).partition(i -> i > 2).map((first, second) -> tuple(first.toList(), second.toList())),
98+
tuple(Arrays.asList(3, 4), Arrays.asList(1, 2))
9999

100100
);
101101

@@ -152,7 +152,6 @@ public void givenSeq_whenZip_shouldHaveZippedSeq() {
152152
Arrays.asList(tuple(1, "a"), tuple(2, "b"), tuple(3, "c"))
153153
);
154154

155-
// ("1:a", "2:b", "3:c")
156155
assertEquals(
157156
Seq.of(1, 2, 3).zip(Seq.of("a", "b", "c"), (x, y) -> x + ":" + y).toList(),
158157
Arrays.asList("1:a", "2:b", "3:c")

0 commit comments

Comments
 (0)