Skip to content

Commit 5141677

Browse files
committed
remove redundant
1 parent 75160c7 commit 5141677

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ import org.junit.jupiter.api.Test
99
import kotlin.coroutines.resume
1010
import kotlin.coroutines.resumeWithException
1111
import kotlin.coroutines.suspendCoroutine
12-
import kotlin.test.assertTrue
13-
1412

1513
class SingleRxJavaToCoroutineDeferredUnitTest {
1614

@@ -33,8 +31,6 @@ class SingleRxJavaToCoroutineDeferredUnitTest {
3331
}
3432

3533
private suspend fun Deferred<*>.assertOver500AndSorted() {
36-
assertTrue(actual = this is Deferred<*>)
37-
3834
assertThat(this.await() as List<*>).containsExactly(
3935
Product(4, "Lenovo", 550.0),
4036
Product(2, "Oppo", 800.0),

0 commit comments

Comments
 (0)