Skip to content

Commit

Permalink
Remove racing assertion from Deferred
Browse files Browse the repository at this point in the history
  • Loading branch information
alexvanyo committed Jun 22, 2021
1 parent a5bd78e commit d9d886b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions integration/kotlinx-coroutines-play-services/test/TaskTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ class TaskTest : TestBase() {
assertTrue(e is CancellationException)
}
assertTrue(cancellationTokenSource.token.isCancellationRequested)
assertTrue(task.isCanceled)
}

@Test
Expand All @@ -211,7 +210,6 @@ class TaskTest : TestBase() {
assertTrue(e is CancellationException)
}
assertTrue(cancellationTokenSource.token.isCancellationRequested)
assertTrue(task.isCanceled)
}

@Test
Expand All @@ -223,7 +221,6 @@ class TaskTest : TestBase() {
cancellationTokenSource.cancel()

assertTrue(cancellationTokenSource.token.isCancellationRequested)
assertFalse(task.isCanceled)
}

@Test
Expand Down

0 comments on commit d9d886b

Please sign in to comment.