Skip to content

Commit 2116eaa

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 d57de33 commit 2116eaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class SingleRxJavaToCoroutineDeferredUnitTest {
152152
}
153153

154154
// using suspendCancellableCoroutine
155-
private suspend fun <T : Any> Single<T>.toDeferredWithsuspendCancellableCoroutine(
155+
private suspend fun <T : Any> Single<T>.toDeferredWithSuspendCancellableCoroutine(
156156
onSuccess: (Deferred<T>) -> Unit, onError: (Throwable) -> Unit
157157
): Deferred<T> {
158158
return coroutineScope {

0 commit comments

Comments
 (0)