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 e6ddc81 commit 67e21b2Copy full SHA for 67e21b2
kotlinx-coroutines-core/jvm/test/flow/SharingReferenceTest.kt
@@ -50,7 +50,7 @@ class SharingReferenceTest : TestBase() {
50
51
@Test
52
fun testStateInSuspendingReference() = runTest {
53
- val flow = weakEmitter.stateIn(GlobalScope)
+ val flow = weakEmitter.stateIn(ContextScope(executor))
54
linearize()
55
FieldWalker.assertReachableCount(1, flow) { it === token }
56
}
0 commit comments