On Mon, 27 Apr 2026 20:19:17 GMT, sstremler <[email protected]> wrote:

> Refactor stream-related tests from TestNG to JUnit.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

test/jdk/java/util/stream/test/org/openjdk/tests/java/util/stream/ConcatTest.java
 line 123:

> 121:         assertEquals(result.isParallel(), parallel);
> 122:         assertConcatContent(result.spliterator(), ordered,
> 123:                             
> expected.stream().mapToInt(Integer::intValue).spliterator(),  scenario);

Suggestion:

                            
expected.stream().mapToInt(Integer::intValue).spliterator(), scenario);

test/jdk/java/util/stream/test/org/openjdk/tests/java/util/stream/ConcatTest.java
 line 131:

> 129:         assertEquals(result.isParallel(), parallel);
> 130:         assertConcatContent(result.spliterator(), ordered,
> 131:                             
> expected.stream().mapToLong(Integer::longValue).spliterator(),  scenario);

Suggestion:

                            
expected.stream().mapToLong(Integer::longValue).spliterator(), scenario);

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/30954#discussion_r3152677044
PR Review Comment: https://git.openjdk.org/jdk/pull/30954#discussion_r3152678139

Reply via email to