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 bc6bd8b commit b825221Copy full SHA for b825221
kotlinx-coroutines-test/common/src/TestBuilders.kt
@@ -341,8 +341,7 @@ public fun TestScope.runTest(
341
if (exception is TimeoutCancellationException) {
342
dumpCoroutines()
343
val activeChildren = scope.children.filter(Job::isActive).toList()
344
- var message = "After waiting for $timeout, "
345
- message += when {
+ val message = "After waiting for $timeout, " + when {
346
testBodyFinished.value && activeChildren.isNotEmpty() ->
347
"there were active child jobs: $activeChildren. " +
348
"Use `TestScope.backgroundScope` " +
0 commit comments