We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9e486d commit af8a47fCopy full SHA for af8a47f
kotlinx-coroutines-test/common/src/TestScope.kt
@@ -186,7 +186,7 @@ internal class TestScopeImpl(context: CoroutineContext) :
186
finished = true
187
uncaughtExceptions
188
}
189
- val activeJobs = children.filter { it.isActive }.toList()
+ val activeJobs = children.filter { it.isActive }.toList() // only non-empty if used with `runBlockingTest`
190
if (exceptions.isEmpty()) {
191
if (activeJobs.isNotEmpty())
192
throw UncompletedCoroutinesError(
0 commit comments