Skip to content

Commit 299c8c2

Browse files
hanggatheangrydev
andauthored
Update core-kotlin-modules/core-kotlin-concurrency-3/src/test/java/com/baeldung/singlerxjavatocoroutinedeferred/SingleRxJavaToCoroutineDeferredUnitTest.kt
Co-authored-by: Liam Williams <[email protected]>
1 parent 227b62f commit 299c8c2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

core-kotlin-modules/core-kotlin-concurrency-3/src/test/java/com/baeldung/singlerxjavatocoroutinedeferred/SingleRxJavaToCoroutineDeferredUnitTest.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ class SingleRxJavaToCoroutineDeferredUnitTest {
4040

4141
@Test
4242
fun `using async and blockingGet`() = runBlocking {
43-
val deferred =
44-
async { getFilteredProducts().blockingGet() } // potentially blocking main thread while not careful
43+
val deferred = async { getFilteredProducts().blockingGet() }
4544
deferred.assertOver500AndSorted()
4645
}
4746

0 commit comments

Comments
 (0)