Skip to content

Commit 1bc5c7c

Browse files
hanggatheangrydev
andauthored
Update core-kotlin-modules/core-kotlin-collections-6/src/test/kotlin/com/baeldung/parallelOperationsCollections/ParallelOperationCollectionsUnitTest.kt
Co-authored-by: Liam Williams <[email protected]>
1 parent 316c2ee commit 1bc5c7c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core-kotlin-modules/core-kotlin-collections-6/src/test/kotlin/com/baeldung/parallelOperationsCollections/ParallelOperationCollectionsUnitTest.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,8 @@ class ParallelOperationCollectionsUnitTest {
154154
.flatMap { Observable.just(it) } // Without using the maxConcurrency parameter, so it only uses 1 thread.
155155
.doOnNext { person -> person.setAdult() }
156156
.filter { it.age > 15 }.toList()
157-
.map { it.sortedBy { person -> person.age } }.blockingGet()
157+
.map { it.sortedBy { person -> person.age } }
158+
.blockingGet()
158159

159160
startTime.printTotalTime()
160161

0 commit comments

Comments
 (0)