diff --git a/integration/kotlinx-coroutines-play-services/test/TaskTest.kt b/integration/kotlinx-coroutines-play-services/test/TaskTest.kt index 899ec3c817..b243ff733e 100644 --- a/integration/kotlinx-coroutines-play-services/test/TaskTest.kt +++ b/integration/kotlinx-coroutines-play-services/test/TaskTest.kt @@ -328,7 +328,6 @@ class TaskTest : TestBase() { assertTrue(e is CancellationException) } - assertTrue(taskCompletionSource.task.isCanceled) assertTrue(cancellationTokenSource.token.isCancellationRequested) } @@ -352,7 +351,6 @@ class TaskTest : TestBase() { assertTrue(e is CancellationException) } - assertTrue(taskCompletionSource.task.isCanceled) assertTrue(cancellationTokenSource.token.isCancellationRequested) } @@ -371,7 +369,6 @@ class TaskTest : TestBase() { // Cancelling the token doesn't cancel the deferred assertTrue(cancellationTokenSource.token.isCancellationRequested) - assertFalse(taskCompletionSource.task.isCanceled) assertFalse(deferred.isCompleted) // Cleanup @@ -393,7 +390,6 @@ class TaskTest : TestBase() { // Cancelling the token doesn't cancel the deferred assertTrue(cancellationTokenSource.token.isCancellationRequested) - assertFalse(taskCompletionSource.task.isCanceled) assertFalse(deferred.isCompleted) // Cleanup