We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25cc6aa commit 9e157b4Copy full SHA for 9e157b4
kotlinx-coroutines-test/common/src/TestBuilders.kt
@@ -352,7 +352,7 @@ public fun TestScope.runTest(
352
}
353
timeoutError = UncompletedCoroutinesError(message)
354
cancellationException = CancellationException("The test timed out")
355
- (scope as Job).cancel(cancellationException!!)
+ (scope as Job).cancel(cancellationException)
356
357
358
scope.join()
0 commit comments